Nothing in this chapter shall prevent the strengthening or restoring to a safe condition of any part of any building or structure declared unsafe by the duly appointed zoning administrator of the city or from complying with his lawful requirements.