Cal. Gov't Code § 8631
In periods of local emergency, political subdivisions have full power to provide mutual aid to any affected area in accordance with local ordinances, resolutions, emergency plans, or agreements therefor.