Where there is no juvenile hall in the county of residence of minors, or when the juvenile hall becomes unfit or unsafe for detention of minors, the presiding or sole juvenile court judge may, with the recommendation of the probation officer of the sending county and the consent of the probation officer of the receiving county, by written order filed with the clerk of the court, designate the juvenile hall of any county in the state for the detention of an individual minor for a period not to exceed 60 days. The court may, at any time, modify or vacate the order and shall require notice of the transfer to be given to the parent or guardian. The county of residence of a minor so transferred shall reimburse the receiving county for costs and liability as agreed upon by the two counties in connection with the order.
As used in this section, the terms "unfit" and "unsafe" shall include a condition in which a juvenile hall is considered by the juvenile court judge, the probation officer of that county, or the Board of State and Community Corrections to be too crowded for the proper and safe detention of minors.
Ca. Welf. and Inst. Code § 872