When a person is convicted of violating section 609.19 or 609.195, the court shall sentence the person to the statutory maximum sentence for the offense if the person was previously convicted of a heinous crime as defined in section 609.106 and 15 years have not elapsed since the person was discharged from the sentence imposed for that conviction. The court may not stay the imposition or execution of the sentence, notwithstanding section 609.135.
Minn. Stat. § 609.107
1998 c 367 art 6 s 4