The department, officer or officers of a county who are charged with the enforcement of laws or ordinances regulating the erection, construction or alteration of buildings, shall enforce the provisions of this part within such county but outside the territorial limits of any city.
Ca. Health and Saf. Code § 9526