CA Veh Code § 41403 (2021)
2021 California Code|Vehicle Code - VEH|DIVISION 17 - OFFENSES AND PROSECUTION|CHAPTER 5 - Defenses|Section 41403.

41403.  (a) In any proceedings to have a judgment of conviction of a violation of Section 14601, 14601.1, 14601.2, 23152, or 23153, or Section 23103 as specified in Section 23103.5, which was entered in a separate proceeding, declared invalid on constitutional grounds, the defendant shall state in writing and with specificity wherein the defendant was deprived of the defendant’s constitutional rights, which statement shall be filed with the clerk of the court and a copy served on the court that rendered that judgment and on the prosecuting attorney in the present proceedings at least five court days prior to the hearing thereon. (b) Except as provided in subdivision (c), the court shall, prior to the trial of any pending criminal action against the defendant wherein the separate conviction is charged as such, hold a hearing, outside of the presence of the jury, in order to determine the constitutional validity of the charged separate conviction issue. At the hearing the procedure, the burden of proof, and the burden of producing evidence shall be as follows:(1) The prosecution shall initially have the burden of producing evidence of the separate conviction sufficient to justify a finding that the defendant has suffered that separate conviction.(2) After the production of evidence required by paragraph (1), the defendant then has the burden of proof by a preponderance of the evidence that the defendant’s constitutional rights were infringed in the separate proceeding at issue. If the separate conviction sought to be invalidated is based upon a plea of guilty or nolo contendere, the defendant shall provide the court with evidence of the prior plea, including the court docket, written waivers of constitutional rights executed by the defendant, and transcripts of the relevant court proceedings at the time of the entry of the defendant’s plea. These records shall be provided to the defendant without cost to him or her, when the defendant is represented by the public defender or counsel appointed pursuant to Section 987.2 of the Penal Code.(3) If the defendant bears this burden successfully, the prosecution shall have the right to produce evidence in rebuttal.(4) The court shall make a finding on the basis of the evidence thus produced and shall strike from the accusatory pleading any separate conviction found to be constitutionally invalid.(c) If the defendant fails to comply with the notice requirement of subdivision (a) or fails to produce the evidence required by paragraph (2) of subdivision (b), the court shall hear the motion at the time of sentencing in lieu of continuing the trial, unless good cause is shown for failure to provide notice pursuant to subdivision (a) or produce the evidence required by paragraph (2) of subdivision (b), in which case the court shall grant a continuance of the trial for a reasonable period. The procedure, burden of proof, and burden of producing evidence as provided in subdivision (b) shall apply regardless of when the motion is heard.(Amended by Stats. 1995, Ch. 83, Sec. 1. Effective January 1, 1996.)