Cal. Penal Code § 1203.425
(a)
(1)
(B) A person is eligible for automatic conviction relief pursuant to this section if they meet all of the following conditions:
(iv) The conviction meets either of the following criteria:
(ib) The defendant was convicted of an infraction or misdemeanor other than one eligible under sub-subclause (ia), and, based upon the disposition date and the term specified in the department’s records, the defendant appears to have completed their sentence, and at least one calendar year has elapsed since the date of judgment.
(2)
(3)
(4) Relief granted pursuant to this section is subject to the following conditions:
(K)
(b)
(4) The prosecutor or probation department has the initial burden of proof to show that granting conviction relief would pose a substantial threat to the public safety. In determining whether granting relief would pose a substantial threat to the public safety, the court may consider any relevant factors, including, but not limited to, either of the following:
(5) If the court finds that the prosecutor or probation department has satisfied the burden of proof, the burden shifts to the defendant to show that the hardship of not obtaining relief outweighs the threat to the public safety of providing relief. In determining whether the defendant’s hardship outweighs the threat to the public safety, the court may consider any relevant factors, including, but not limited to, either of the following: