The superintendent or person in charge of the county psychiatric hospital, may receive, detain, supervise, care for or treat in the hospital any person who comes within any of the following descriptions:
(a) Who has been placed therein pursuant to a court order or court commitment under the provisions of this code or the Penal Code.
(b) Who has been placed therein pursuant to the provisions of Part 1 of Division 5 of this code.
(Added by Stats. 1967, Ch. 1667.)