Cal. Welf. & Inst. Code § 305.6
(b) Notwithstanding subdivision (a) and Section 305, a peace officer shall not, without a warrant, take into temporary custody a child who is in a hospital if all of the following conditions exist:
(2) The child is the subject of a proposed adoption and a Health Facility Minor Release Report, developed by the department, has been completed by the hospital, including the marking of the boxes applicable to an independent adoption or agency adoption planning, and signed by the placing birth parent or birth parents, as well as either the prospective adoptive parent or parents or an authorized representative of a licensed adoption agency, prior to the discharge of the birth parent or the child from the hospital. The Health Facility Minor Release Report shall include a notice written in at least 14-point pica type, containing substantially all of the following statements:
(5) The prospective adoptive parent or parents or their representative, or an authorized representative of a licensed adoption agency, provides all of the following to the peace officer:
(B) A written form signed by either the prospective adoptive parent or parents or a representative of the licensed adoption agency, which shall include all of the following:
(c)