(a) General. Alterations, repairs or rehabilitation work may be made to any existing structure, building, electrical, mechanical, gas or plumbing system without requiring the entire structure, building, electrical, mechanical, gas or plumbing system to comply with all the requirements of the technical codes, provided that the new alteration, repair or rehabilitation work conforms to the requirements of the technical codes for new construction. The building official shall determine the extent to which the existing systems shall be made to conform to the requirements of the technical codes for new construction. (b) Change of occupancy. If the occupancy classification of any existing building or structure is changed (i.e. from residential to commercial or from single-family to multifamily), the building, electrical, gas, mechanical and plumbing systems shall be made to conform to the intent of the technical codes as required by the building official. (c) Special historic buildings. The provisions of the technical codes relating to the construction, alteration, repair, enlargement, restoration, relocation or moving of buildings or structures shall not be mandatory for existing buildings or structures identified and classified by the state as historic buildings, when such buildings or structures are judged by the building official to be safe and in the public interest of health, safety and welfare.