Cal. Health & Safety Code § 1799.115
(a) A private provider of ambulance services licensed by the California Highway Patrol and any employees of that provider, when operating in accordance with the standards, regulations, policies, and protocols of local emergency medical services agencies, shall not be criminally or civilly liable for the continued detainment of a person when that detainment is requested by a peace officer, facility staff, or other professionals authorized to detain persons in any of the following circumstances: