Cal. Health & Safety Code § 13146
(a) The responsibility for enforcement of building standards adopted by the State Fire Marshal and published in the California Building Standards Code relating to fire and panic safety and other regulations of the State Fire Marshal shall be as follows:
(1) The city, county, or city and county with jurisdiction in the area affected by the standard or regulation shall delegate the enforcement of the building standards relating to fire and panic safety and other regulations of the State Fire Marshal as they relate to R-3 dwellings, as described in Section 310.5 of Part 2 of the California Building Standards Code, to either of the following: