Legal nonconforming manufactured homes existing prior to the date of the ordinance from which this article is derived may remain in use without complying with this article; however, whenever a legal nonconforming manufactured home is replaced with a manufactured home, the replacement home shall comply with this article. Whenever a nonconforming manufactured home falls into such a state of disrepair that the certificate of occupancy is revoked, in order for a certification of occupancy to be reissued, the manufactured home shall be brought into compliance with this article.