No person shall be committed directly by any court to a county industrial farm or camp except as provided in the Welfare and Institutions Code. All other commitments shall be made to the sheriff for placement in such county adult detention facility as the county classification committee may designate.