Cal. Welf. & Inst. Code § 5354
(b) Notwithstanding Section 5328, when a court with jurisdiction over a person in a criminal case orders an evaluation of the person’s mental condition pursuant to Section 5200, and that evaluation leads to a conservatorship investigation, the officer providing the conservatorship investigation shall serve a copy of the report required under subdivision (a) upon the defendant or the defendant’s counsel. Upon the prior written request of the defendant or the defendant’s counsel, the officer providing the conservatorship investigation shall also submit a copy of the report to the court hearing the criminal case, the district attorney, and the county probation department. The conservatorship investigation report and the information contained in that report, shall be kept confidential and shall not be further disclosed to anyone without the prior written consent of the defendant. After disposition of the criminal case, the court shall place all copies of the report in a sealed file, except as follows: