When the court finds a minor to be a person described by Section 300, and believes that the minor may need specialized mental health treatment while the minor is unable to reside in his or her natural home, the court shall notify the director of the county mental health department in the county where the minor resides. The county mental health department shall perform the duties required under Section 5694.7 for all those minors.
Nothing in this section shall restrict the provisions of emergency psychiatric services to those minors who are involved in dependency cases and have not yet reached the point of adjudication or disposition, nor shall it operate to restrict evaluations at an earlier stage of the proceedings or to restrict orders removing the minor from a detention facility for psychiatric treatment.
Ca. Welf. and Inst. Code § 319.1