(1) It is in the interests of justice to restore a defendant who acquired a criminal record due to a mental health disorder stemming from service in the United States military to the community of law abiding citizens. The restorative provisions of this subdivision apply to cases in which a trial court or a court monitoring the defendant’s performance of probation pursuant to this section finds at a public hearing, held after not less than 15 days’ notice to the prosecution, the defense, and any victim of the offense, that all of the following describe the defendant:
- (A) The defendant was granted probation and was at the time that probation was granted a person described in subdivision (a).
- (B) The defendant is in substantial compliance with the conditions of that probation.
- (C) The defendant has successfully participated in court-ordered treatment and services to address the sexual trauma, traumatic brain injury, post-traumatic stress disorder, substance abuse, or mental health problems stemming from military service.
- (D) The defendant does not represent a danger to the health and safety of others.
- (E) The defendant has demonstrated significant benefit from court-ordered education, treatment, or rehabilitation to clearly show that granting restorative relief pursuant to this subdivision would be in the interests of justice.
(2) When determining whether granting restorative relief pursuant to this subdivision is in the interests of justice, the court may consider, among other factors, all of the following:
- (A) The defendant’s completion and degree of participation in education, treatment, and rehabilitation as ordered by the court.
- (B) The defendant’s progress in formal education.
- (C) The defendant’s development of career potential.
- (D) The defendant’s leadership and personal responsibility efforts.
- (E) The defendant’s contribution of service in support of the community.
(3) If the court finds that a case satisfies each of the requirements described in paragraph (1), then the court may take any of the following actions by a written order setting forth the reasons for so doing:
- (A) Deem all conditions of probation to be satisfied, including fines, fees, assessments, and programs, and terminate probation prior to the expiration of the term of probation. This subparagraph does not apply to any court-ordered victim restitution.
- (B) Reduce an eligible felony to a misdemeanor pursuant to subdivision (b) of Section 17.
- (C) Grant relief in accordance with Section 1203.4.
(4) Notwithstanding anything to the contrary in Section 1203.4, a dismissal of the action pursuant to this subdivision has the following effect:
- (A) Except as otherwise provided in this paragraph, a dismissal of the action pursuant to this subdivision releases the defendant from all penalties and disabilities resulting from the offense of which the defendant has been convicted in the dismissed action.
(B) A dismissal pursuant to this subdivision does not apply to any of the following:
- (i) A conviction pursuant to subdivision (c) of Section 42002.1 of the Vehicle Code.
- (ii) A felony conviction pursuant to subdivision (d) of Section 261.5.
- (iii) A conviction pursuant to subdivision (c) of Section 286.
- (iv) A conviction pursuant to Section 288.
- (v) A conviction pursuant to subdivision (c) of Section 287 or former Section 288a.
- (vi) A conviction pursuant to Section 288.5.
- (vii) A conviction pursuant to subdivision (j) of Section 289.
- (viii) The requirement to register pursuant to Section 290.
- (C) The defendant is not obligated to disclose the arrest on the dismissed action, the dismissed action, or the conviction that was set aside when information concerning prior arrests or convictions is requested to be given under oath, affirmation, or otherwise. The defendant may indicate that the defendant has not been arrested when the defendant’s only arrest concerns the dismissed action, except when the defendant is required to disclose the arrest, the conviction that was set aside, and the dismissed action in response to any direct question contained in any questionnaire or application for any law enforcement position.
- (D) A dismissal pursuant to this subdivision may, in the discretion of the court, order the sealing of police records of the arrest and court records of the dismissed action, thereafter viewable by the public only in accordance with a court order.
- (E) The dismissal of the action pursuant to this subdivision is a bar to any future action based on the conduct charged in the dismissed action.
- (F) In any subsequent prosecution for any other offense, a conviction that was set aside in the dismissed action may be pleaded and proved as a prior conviction and has the same effect as if the dismissal pursuant to this subdivision had not been granted.
- (G) A conviction that was set aside in the dismissed action may be considered a conviction for the purpose of administratively revoking or suspending or otherwise limiting the defendant’s driving privilege on the ground of two or more convictions.
- (H) The defendant’s DNA sample and profile in the DNA data bank shall not be removed by a dismissal pursuant to this subdivision.
- (I) Dismissal of an accusation, information, or conviction pursuant to this section does not authorize a defendant to own, possess, or have in the defendant’s custody or control any firearm or prevent the defendant’s conviction pursuant to Chapter 2 (commencing with Section 29800) of Division 9 of Title 4 of Part 6.