Cal. Civ. Code § 53.7
(b)
(c) A statute, ordinance, or other state or local rule, regulation, or enactment shall be determined valid in an action brought pursuant to this section, only upon a showing by the government that the burden imposed by the statute, ordinance, or other state or local rule, regulation, or enactment satisfies both of the following criteria: