All building standards shall be administered and enforced and, whenever practicable, written on a performance basis consistent with state and nationally recognized standards for building construction in view of the use and occupancy of each structure to preserve and protect the public health and safety.
Ca. Health and Saf. Code § 18941