Cal. Penal Code § 1001.72
(b) No statement, or any information procured therefrom, made by the defendant to any probation officer, which is made during the course of any investigation conducted by the probation department pursuant to subdivision (a), and prior to the reporting of the probation department’s findings and recommendations to the court, shall be admissible in any action or proceeding brought subsequent to the investigation.
No statement, or any information procured therefrom, with respect to the specific offense with which the defendant is charged which is made to any probation officer subsequent to the granting of diversion, shall be admissible in any action or proceeding.
In the event that diversion is either denied or is subsequently revoked once it has been granted, neither the probation investigation nor statements or information divulged during that investigation shall be used in any pretrial sentencing procedures.