The board of supervisors in every county shall provide and maintain, at the expense of the county, in a location approved by the judge of the juvenile court or in counties having more than one judge of the juvenile court, by the presiding judge of the juvenile court, a suitable house or place for the detention of wards and dependent children of the juvenile court and of persons alleged to come within the jurisdiction of the juvenile court. Such house or place shall be known as the "juvenile hall" of the county. Wherever, in any provision of law, reference is made to detention homes for juveniles, such reference shall be deemed and construed to refer to the juvenile halls provided for in this article.
Ca. Welf. and Inst. Code § 850