OWEN, WILLIAM C., Jr., Senior Judge.
Defendant appeals the denial of his timely motion to withdraw his guilty plea. In denying the motion the trial court appropriately described it as "playing legal games with the court." Nonetheless, the defendant, playing by the state's rules and with the hand he was dealt, was entitled to withdraw his plea. We reverse.
Defendant was charged with dealing in stolen property, resisting arrest with violence, and two counts of burglary. The state announced its intention to seek habitual offender sanctions. Defendant entered a guilty plea as a result of a negotiated plea approved by the court. The court accepted the plea, entered judgments accordingly, and pursuant to the terms of the negotiated plea declared defendant to be a habitual violent felony offender,
In the latter part of 1997, affidavits of violations were filed and defendant admitted the violations. The court (now Judge Lupo) found him to be in violation of his probation and scheduled a sentencing hearing for November 6, 1997. Before the sentencing hearing, defendant filed a "Motion To Correct Illegal Sentence and Vacate Violation of Probation." Defendant's motion argued that (1) the original sentences were illegal because they were unauthorized conditional suspended sentences which several district courts had held to be invalid. See State v. Davis, 657 So.2d 1224 (Fla. 5th DCA 1995); Gaskins v. State, 607 So.2d 475 (Fla. 1st DCA 1992), and (2) defendant could not be charged with violations of probation of an illegal sentence. See Jackson v. State, 654 So.2d 234 (Fla. 4th DCA 1995).
At the hearing, the state took the position that defendant had waived the issue regarding the prior sentences by not timely appealing the sentence. The court stated:
After a further colloquy with counsel, the court stated:
(Emphasis supplied). The court, apparently unaware that the plea was negotiated, then sentenced defendant as a habitual felony offender to 30 years concurrent on each of the three second degree felonies and 5 years concurrent on the third degree felony.
A week thereafter, defendant filed a motion to withdraw his guilty plea, arguing that he had entered the plea with the understanding of an agreement with the court for suspended sentences and drug treatment and, since the 30 year concurrent sentences violated that agreement, he was entitled to withdraw his plea. The trial court denied the motion, finding that defendant was playing legal games, that the motion was untimely, and that defendant had waived his ability to vacate his plea after being sentenced pursuant to his own request.
While we do not disagree with the trial court's description of defendant's motion as "playing legal games with the court," we conclude that his position is sound. Though the court was under the impression defendant's plea was an open plea to the court, the record confirms that the plea was made on negotiated terms. The Florida Supreme Court has held that "when there has been a firm agreement for a specified sentence and the judge determines to impose a greater sentence, the defendant has the right to withdraw the plea." Goins v. State, 672 So.2d 30 (Fla.1996). That is precisely the situation in this case. After the court vacated the original sentence and the violation of probation, the matter was back to square one, i.e., the defendant was before the court for sentencing on a negotiated plea. At that point, the court could either accept the plea and impose the agreed sentence, or the court could inform the defendant that the terms of the negotiated plea were not acceptable to the court, in which event the defendant must be afforded the opportunity to withdraw the plea. The court did neither. As to the matter of timeliness, the motion was filed within 30 days of the rendition of the sentence, Fla.R.Crim.P. 3.170(1), it being recalled that the original sentence was vacated. Finally, the defendant did not waive his right to withdraw the plea simply because, at sentencing,
The trial court characterized the sentence initially imposed on defendant by Judge Mounts as illegal, but it was not because it did not exceed the statutory maximum. See State v. Callaway, 658 So.2d 983 (Fla.1995). It was, however, the type of split sentence that had been held invalid in several cases. See Davis; Gaskins. On the state of the law as it existed at that time, the trial court could not have been faulted in viewing the sentence as invalid.
The judgments and sentences are severally reversed and this cause is remanded to the trial court with directions to either accept the negotiated plea in accordance with its terms, or allow the defendant the opportunity to withdraw his plea.
REVERSED AND REMANDED.
GUNTHER and WARNER, JJ., concur.