Public institutions and agencies are hereby required to accept and care for persons sent to them by the authority in the same manner as they would be required to do had such persons been committed by a court of criminal jurisdiction.
Ca. Welf. and Inst. Code § 1755