Cal. Penal Code § 5058.2
(a) Chapter 3.5 (commencing with Section 11340) of Part 1 of Division 3 of Title 2 of the Government Code does not apply to a department action or policy implementing an action, that is based on a determination by the director that there is a compelling need for immediate action, and that unless the action is taken, serious injury, illness, or death is likely to result. The action, or the policy implementing the action, may be taken provided that the following conditions shall subsequently be met: