Cal. Penal Code § 1210.1
(a) Notwithstanding any other provision of law, and except as provided in subdivision (b), any person convicted of a nonviolent drug possession offense shall receive probation. As a condition of probation the court shall require participation in and completion of an appropriate drug treatment program. The court shall impose appropriate drug testing as a condition of probation. The court may also impose, as a condition of probation, participation in vocational training, family counseling, literacy training and/or community service. A court may not impose incarceration as an additional condition of probation. Aside from the limitations imposed in this subdivision, the trial court is not otherwise limited in the type of probation conditions it may impose. Probation shall be imposed by suspending the imposition of sentence. No person shall be denied the opportunity to benefit from the provisions of the Substance Abuse and Crime Prevention Act of 2000 based solely upon evidence of a co-occurring psychiatric or developmental disorder. To the greatest extent possible, any person who is convicted of, and placed on probation pursuant to this section for a nonviolent drug possession offense shall be monitored by the court through the use of a dedicated court calendar and the incorporation of a collaborative court model of oversight that includes close collaboration with treatment providers and probation, drug testing commensurate with treatment needs, and supervision of progress through review hearings.
In addition to any fine assessed under other provisions of law, the trial judge may require any person convicted of a nonviolent drug possession offense who is reasonably able to do so to contribute to the cost of his or her own placement in a drug treatment program.
(b) Subdivision (a) shall not apply to any of the following:
(c)
(d) Within seven days of an order imposing probation under subdivision (a), the probation department shall notify the drug treatment provider designated to provide drug treatment under subdivision (a). Within 30 days of receiving that notice, the treatment provider shall prepare a treatment plan and forward it to the probation department for distribution to the court and counsel. The treatment provider shall provide to the probation department standardized treatment progress reports, with minimum data elements as determined by the department, including all drug testing results. At a minimum, the reports shall be provided to the court every 90 days, or more frequently, as the court directs.
(e)
(3) Except as provided below, after an indictment, complaint, or information is dismissed pursuant to paragraph (1), the defendant may indicate in response to any question concerning his or her prior criminal record that he or she was not arrested or convicted for the offense. Except as provided below, a record pertaining to an arrest or conviction resulting in successful completion of a drug treatment program under this section may not, without the defendant’s consent, be used in any way that could result in the denial of any employment, benefit, license, or certificate.
Regardless of his or her successful completion of drug treatment, the arrest and conviction on which the probation was based may be recorded by the Department of Justice and disclosed in response to any peace officer application request or any law enforcement inquiry. Dismissal of an information, complaint, or indictment under this section does not relieve a defendant of the obligation to disclose the arrest and conviction in response to any direct question contained in any questionnaire or application for public office, for a position as a peace officer as defined in Section 830, for licensure by any state or local agency, for contracting with the California State Lottery, or for purposes of serving on a jury.
(f)
(3)