Justice DURHAM, opinion of the Court:
¶ 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.
¶ 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 section 76-3-402 (Section 402) provided district courts with discretion at the time of sentencing 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." UTAH CODE § 76-3-402(1) (2005). And specifically as to third degree felonies, Section 402 provided in relevant part as follows:
Id. § 76-3-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(3)(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-3 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 Section 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 conviction 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 conviction. 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-3-102(3)(b).
¶ 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., 2004 UT 80, ¶ 36, 104 P.3d 1185.
¶ 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, 2011 UT 23, ¶ 13, 251 P.3d 829. Thus, we must determine which version of Section 402 applies to Johnson's motion to reduce his conviction. That inquiry turns on whether Section 402 goes to the substance or procedure of reductions in convictions.
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, 2010 UT 50, ¶ 10, 254 P.3d 158 (internal quotation marks omitted). By contrast, substantive statutes "enlarge, eliminate, or destroy vested or contractual rights." ASC Utah, Inc. v. Wolf Mountain Resorts, L.C., 2010 UT 65, ¶ 19, 245 P.3d 184 (internal quotation marks omitted).
¶ 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., 2010 UT 50, ¶ 10, 254 P.3d 158 (internal quotation marks omitted), but would instead affect the scope of the substantive right to seek a reduction in conviction. Section 402 governs the scope of a defendant's "vested or contractual rights" in the ultimate conviction and associated sentence, rather than the "mode and form of procedure" for filing a motion to reduce a conviction.
¶ 14 The 2006 amendment to Section 402 illustrates 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." UTAH CODE § 76-3-402(7)(a). The amendment therefore does not "control[] the mode and form of procedure for enforcing the underlying substantive rights," Beaver Cnty., 2010 UT 50, ¶ 10, 254 P.3d 158
¶ 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-3-3. 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 proscriptions against ex post facto laws." Clark, 2011 UT 23, ¶ 11 n. 5, 251 P.3d 829. Second, "when the purpose of an amendment is to clarify the meaning of an earlier enactment, the amendment may be applied retroactively in pending actions" in "those narrow circumstances in which the state legislature disagrees with this court's interpretation of a law and attempts to clarify that law's meaning through the amendment process." Id. ¶ 11 & n. 6 (internal quotation marks omitted).
¶ 17 Under this framework, Amended Section 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.
¶ 19 Section 402, the statute governing reduction of convictions, is a substantive statute,
Justice DURHAM authored the opinion of the Court, in which Chief Justice DURRANT, Associate Chief Justice NEHRING, Justice PARRISH, and Justice LEE joined.
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." Santobello v. New York, 404 U.S. 257, 262, 92 S.Ct. 495, 30 L.Ed.2d 427 (1971). Second, we note that "[g]eneral principles of contract law define the government's obligations under the agreement, looking to the express language and construing any ambiguities against the government as the drafter of the agreement." United States v. Burke, 633 F.3d 984, 994 (10th Cir.2011) (internal quotation marks omitted). The State therefore shares the general contractual duty to "refrain from actions that will intentionally destroy or injure the other party's right to receive the fruits of the contract." Young Living Essential Oils, LC v. Marin, 2011 UT 64, ¶ 9, 266 P.3d 814 (internal quotation marks omitted). This is part of the implied covenant of good faith and fair dealing, which has the "function of inferring as a term of every contract a duty to perform in the good faith manner that the parties surely would have agreed to if they had foreseen and addressed the circumstance giving rise to their dispute." Id. ¶ 8.