Welfare and Institutions Code § 15705.05
ARTICLE 3. Protective Services
If, as a result of the preliminary hearing, the court determines that probable cause does not exist to continue temporary emergency protective custody, the adult shall be released from temporary protective custody.