California Penal Code Section 1370.4

1370.4. If, in the evaluation ordered by the court under Section 1370.1, the regional center director, or a designee, is of the opinion that the defendant is not a danger to the health and safety of others while on outpatient treatment and will benefit from such treatment, and has obtained the agreement of the person in charge of a residential facility and of the defendant that the defendant will receive and submit to outpatient treatment and that the person in charge of the facility will designate a person to be the outpatient supervisor of the defendant, the court may order the defendant to undergo outpatient treatment. All of the provisions of Title 15 (commencing with Section 1600) of Part 2 shall apply where a defendant is placed on outpatient status under this section, except that the regional center director shall be substituted for the community program director, the Director of Developmental Services for the Director of State Hospitals, and a residential facility for a treatment facility for the purposes of this section.