Cal. Gov't Code § 65852.25
(b) Notwithstanding subdivision (a), a local agency may prohibit the reconstruction, restoration, or rebuilding of a multifamily dwelling that is involuntarily damaged or destroyed by fire, other catastrophic event, or the public enemy, if the local agency determines that:
(d) Any reconstruction, restoration, or rebuilding undertaken pursuant to this section shall conform to all of the following: