A plea agreement is essentially a contract and is subject to contract law standards. We review the district court's interpretation of a contract for correctness. State v. Lewis, 2012 MT 157, ¶ 13, 365 Mont. 431, 282 P.3d 679.
Ambiguity in a plea agreement should be construed in favor of the defendant. State v. Langley, 2016 MT 67, ¶ 22, 383 Mont. 39, ___ P.3d ___.