opinion of the Court:
INTRODUCTION
¶ 1 The defendant in this case challenges the district court's denial of his motion to reduce the degree of his convictions. The defendant entered into a plea agreement in 2005 in which the State promised to not oppose a motion to reduce his convictions. The defendant later filed a motion to reduce his convictions after successfully completing his probation, as required by statute. During his probation, however, the statute governing reduction of convictions was amended to bar reduction for crimes, like defendant's, that trigger the sex offender registration requirement. The district court applied the amended statute retroactively to deny defendant's motion. We reverse and remand for reconsideration of defendant's motion under the version of the statute in effect when he was initially sentenced.
BACKGROUND
¶ 2 On March 4, 2005, Howard Price Johnson pled guilty to two crimes: unlawful sexual activity with a minor, a third-degree felony under Utah Code section 76-5-401; and enticing a minor, a class A misdemeanor under Utah Code section 76-4-401. The plea agreement contained several promises by the State, including that the State would "affirmatively recommend no prison" and would "not oppose a [Utah Code section 76-3-402] motion [to reduce the degree of convictions] on the felony and misdemeanor charges at the end of successful completion of probation." At the time, Utah Code seetion 76-3-402 (Section 402) provided district courts with discretion at the time of sentence-ing to "enter a judgment of conviction for the next lower degree of offense and impose sentence accordingly" if the court concluded that "it would be unduly harsh to record the conviction as being for that degree of offense established by statute." Uran CopE $ 76-3-402(1) (2005). And specifically as to third degree felonies, Section 402 provided in relevant part as follows:
If a conviction is for a third degree felony the conviction is considered to be for a class A misdemeanor if:
[[Image here]]
(b)) the imposition of the sentence is stayed and the defendant is placed on probation, whether committed to jail as a condition of probation or not;
(ii) the defendant is subsequently discharged without violating his probation; and
(ii) the judge upon motion and notice to the prosecuting attorney, and a hearing if requested by either party or the court, finds it is in the interest of justice that the conviction be considered to be for a class A misdemeanor.
Id. § 76-8-402(2) (2005).
¶ 3 The court accepted the guilty pleas that same day. Johnson was sentenced to an indeterminate prison term not to exceed five years, but the district court suspended that prison term and put Johnson on probation for thirty-six months, to be supervised by Adult Probation & Parole (AP & P).
¶ 4 In March 2008, Johnson filed a motion to reduce his convictions under Section 402.
¶ 5 In response, the State filed a Notice of Amendment to Section 76-3-402 (Notice), in which it quoted the new version of Section 402 (Amended Section 402) in full and then stated that the new version "appears to preclude the [district court] from allowing the reduction requested by the defendant until the registration period for sex offenders ... has expired." In 2006, Section 402 had been amended to add the following qualification: "A person may not obtain a reduction under this section of a conviction that requires the person to register as a sex offender until the registration requirements ... have expired." Utah Code § 76-3-402(7)(a). Both of Johnson's convictions involved crimes requiring him to register as a sex offender. See id. § 77-41-105@8)(a) (requiring registration "for the duration of the sentence and for 10 years after termination of sentence or custody" for Johnson's convictions).
¶ 6 Johnson filed a reply memorandum in which he raised several issues. First, Johnson contended that the State "breached its agreement in opposing" his motion to reduce his conviction under Section 402. He observed that the State's Notice was particularly unnecessary in light of his original motion's reference to the statute having been amended. Second, Johnson argued that Amended Section 402 should not apply retroactively. He noted that Utah Code section 68-3-8 prohibits the retroactive application of Amended Section 402 to his motion because the legislature did not expressly declare the amendments to be retroactive. He further argued that applying Amended Seetion 402 retroactively would violate the ex post facto clauses of the U.S. and Utah Constitutions because his rights were vested at the time the plea agreement was entered into.
¶ 7 In March 2009, the district court denied Johnson's motion to reduce his convietion under Section 402. The district court first held that the State did not breach the plea agreement by filing the Notice because it "did not oppose Johnson's motion or give an opinion on how the court should proceed." Second, the district court held that Johnson "must have successfully completed probation before [Amended Section 402 took effect] in order to have a vested right." As Johnson's rights had not vested as of the 2006 amendment, the court applied Amended Section 402 retroactively to bar the reduction in convietion. Finally, the court rejected Johnson's ex post facto challenge to retroactive application of Amended Section 402 because "the amendments to [Section 402] do not impact the sentence or punishment."
¶ 8 Johnson timely appealed the district court's ruling. - The court of appeals certified the case to us. We have jurisdiction under Utah Code section 78A-8-102(8)(b).
STANDARD OF REVIEW
¶ 9 "We review for correctness questions regarding the law applicable in a case, including the issue of whether a given law can or should be applied retroactively." (Goebel v. Salt Lake City S.R.R. Co.,
ANALYSIS
¶ 10 On appeal, Johnson makes several arguments as to why Amended Section 402
¶ 11 The starting point for our analysis is that "we apply the law as it exists at the time of the event regulated by the law in question." State v. Clark,
On matters of substance the parties' primary rights and duties are dictated by the law in effect at the time of their underlying primary conduct (e.g., the conduct giving rise to a criminal charge or civil claim). When it comes to the parties' procedural rights and responsibilities, however, the relevant underlying conduct is different: the relevant occurrence for such purposes is the underlying procedural act (e.g., filing a motion or seeking an appeal). The law governing this procedural occurrence is thus the law in effect at the time of the procedural act, not the law in place at the time of the occurrence giving rise to the parties' substantive claims.
Id. ¶ 14.
¶ 12 We have previously explained that a procedural statute "controls the mode and form of procedure for enforcing the underlying substantive rights and merely affects the judicial machinery available for determining substantive rights." Beaver Cnty. v. Utah State Tax Comm'n,
¶ 13 Applying this framework, we conclude that Section 402 is substantive with respect to Johnson's eligibility for reducing his convictions. Section 402 prescribes the class of defendants who are eligible to seek reductions in convictions. Changes in the class of eligible defendants would not "merely affect[ ] the judicial machinery available for determining substantive rights," Beaver Cnty.,
¶ 14 The 2006 amendment to Section 402 fllustrates the substantive nature of the statute in this respect. Amended Section 402 reduces the class of defendants eligible for a reduction in conviction by excluding all convictions that "require[ ] the person to register as a sex offender." Urax Cope § 76-3-402(7)(a). The amendment therefore does not "control[f ] the mode and form of procedure for enforcing the underlying substantive rights," Beaver Cnty.
¶ 15 Moreover, the substantive right to seek a reduction in conviction vests at the time of initial sentencing.
¶ 16 The State argues, and the district court held, that Amended Section 402 should apply retroactively. We disagree. The legislature has declared that newly codified laws generally do not apply retroactively. Utah Code § 68-8-8. There are only two exceptions to this statutory bar. First, a statute that "is expressly declared to be retroactive" may apply retroactively. Id. This exception is "subject to constitutional pro-seriptions against ex post facto laws." Clark,
¶ 17 Under this framework, Amended Seetion 402 cannot apply retroactively to Johnson's motion to reduce his convictions. Amended Section 402 includes no express declaration of retroactivity. And the amendment "was not passed to correct an interpretation of the statute then in effect by any decision of this court." Id. ¶ 15. Thus, in light of the "statutory bar against the retroactive application of newly codified laws," id. ¶ 11, Amended Section 402 does not apply to Johnson's motion to reduce his convictions.
¶ 18 The district court therefore erred in applying Amended Section 402 to Johnson's motion to reduce his convictions. We reverse and remand for consideration of Johnson's motion under Section 402 as it existed when he was initially sentenced.
CONCLUSION
¶ 19 Section 402, the statute governing reduction of convictions, is a substantive stat
Notes
. Whereas Section 402(1) refers to the time of sentencing and Section 402(2) references staying "'the imposition of the sentence," it appears that it has been common practice for district courts to use the suspension of an execution of a sentence as a substitute, as was done here. See, e.g., State v. Oseguera,
. The motion also sought early termination of Johnson's probation. The State did not oppose this request, and in June 2008 the district court granted this part of Johnson's motion.
. These same registration requirements applied to Johnson's crimes at the time he was initially sentenced.
. "The line between 'substance' and 'procedure' shifts as the legal context changes." Hanna v. Plumer,
. In considering the motion for a reduction in conviction, the district court of course retains discretion to determine whether to grant the motion. See Urah Code § 76-3-402(1)-(2).
. In reaching this conclusion, we disagree with and hereby overrule State v. Shipler,
. We need not address whether the State's Notice in this case constituted outright opposition to Johnson's Section 402 motion such that it breached the plea agreement.
We do, however, take this opportunity to emphasize generally the State's duties in fulfilling plea agreement promises. First, the U.S. Supreme Court has made clear that "when a plea rests in any significant degree on a promise or agreement of the prosecutor, so that it can be said to be part of the inducement or consideration, such promise must be fulfilled." Santobelto v. New York,
