Plea Bargain to a Sentence Not Authorized by Statute

In Maddox v. State, 760 So. 2d 89, 103 (Fla. 2000), the court reaffirmed the precedent "allowing defendants to agree through a plea bargain to a sentence not specifically authorized by statute or rule as long as the sentence does not exceed the statutory maximum." Cases in which we held that an unauthorized habitual offender sentence for a life felony could be rectified via rule 3.800(a) involved sentences imposed after trial and not as the result of a guilty or no contest plea. See: Carter v. State, 786 So. 2d 1173 (Fla. 2001), quashing 704 So. 2d 1068, 1069 (Fla. 5th DCA 1997) (defendant "tried and convicted"); Lamont v. State, 610 So. 2d 435, 436, 439 (Fla. 1992) (defendant "found guilty"; discussion of verdict form).