The Commonwealth claims that the judge erred in granting the defendant’s motion to withdraw his plea of guilty one week after the plea was accepted and a sentence imposed. We agree.
Once accepted, “[a] plea of guilty differs in purpose and effect from a mere admission or an extra-judicial confession; it is itself a conviction. . . . More is not required; the court has nothing to do but give judgment and sentence.”
Machi-broda
v.
United States,
*482
Postconviction motions to withdraw pleas are treated as motions for a new trial. See
Commonwealth
v.
Huot,
We summarize the facts. On October 7, 1981, the defendant pleaded guilty to assault with intent to rob and robbery. Pursuant to Mass. R. Grim. P. 12 (c),
The prosecutor recommended that the judge sentence the defendant to the Massachusetts Correctional Institution at Walpole, for a period of six to ten years. Defense counsel argued that a twenty-year sentence at the Massachusetts Correctional Institution at Concord would provide the defendant with the treatment he needed for his drug problems. After examining the defendant’s prior criminal record, and long history of drug addiction, the judge sentenced the defendant to not less than five nor more than eight years at Massachusetts Correctional Institution, Walpole. To enable the defendant to see his parents, the judge stayed the execution of this sentence for one week.
*483 On October 14, 1981, the defendant orally moved to withdraw his guilty plea. He did not claim that his plea was involuntary, or that he did not understand the consequences of the plea. 1 He did not claim that the prosecutor broke any promises when he made his sentence recommendation. Nor did he claim that the sentence imposed by the judge was unexpected. 2 Instead, he claimed that the judge should allow him to withdraw his plea because his waist chain had not been removed and the Commonwealth’s witnesses had not been present to identify him during the guilty plea. 3
The judge characterized the reasons offered by the defendant as nonsense. 4 He determined that the defendant had voluntarily entered a plea of guilty and that his sole motive for asking permission to withdraw his plea was his dissatisfaction with the sentence. 5 Nevertheless, the judge *484 exercised his discretion and granted the defendant’s motion. 6 Since the defendant would be incarcerated pending trial, the judge concluded that it would make no difference if he allowed the defendant to withdraw his plea. 7
Under Mass. R. Crim. P. 30 (b), the judge should not have granted the defendant’s postsentence motion unless it appeared that justice had not been done. By focusing on possible injustice, rule 30 (b) is different from Mass. R. Crim. P. 12 (c) (2) (B), which provides judges with broad discretion to allow a defendant to withdraw his plea before the plea has been accepted and sentence imposed. The judge in this case did not make this distinction. 8
Setting a separate standard for postconviction motions, the Massachusetts Rules of Criminal Procedure are similar but not identical to the Federal Rules of Criminal Proced
*485
ure.
9
In
Kadwell
v.
United States,
Moreover, there is a strong possibility that the prosecutor’s case will be unfairly prejudiced if the defendant is easily allowed to withdraw his plea after sentencing. 10 *486 J.E. Bond, Plea Bargaining and Guilty Pleas § 7.06[1], at 314-315 (1978). Witnesses may be unavailable; evidence may have been destroyed. Thus, a judge should only grant a postsentence motion to withdraw a plea if the defendant comes forward with a credible reason* 11 which outweighs the risk of prejudice to the Commonwealth. 12
Finally, when a defendant withdraws his plea after sentencing, he may receive a harsher sentence than was originally imposed. See
Commonwealth
v.
Tirrell,
In this case, the judge treated the defendant’s postsentence motion as if it had been made before the plea was accepted and sentence imposed. Exercising broad discretion, he allowed the defendant to withdraw his plea although he found no indication that justice may not have been done. Since the judge applied the standard set out in Mass. R. Crim. P. 12 (c) (2) (B), rather than Mass. R. Crim. P. 30 (b), as he should have done, the judge’s order allowing the defendant to withdraw his plea must be reversed.
So ordered.
Notes
A motion to withdraw the plea, made immediately following acceptance of plea and imposition of sentence, bears on the voluntariness of the plea and the defendant’s understanding of the consequences of the plea. In those circumstances, a judge may conclude that the plea is involuntary or that the defendant did not understand the consequences of the plea and may allow a motion to withdraw the plea.
The judge warned the defendant that he was not bound by the prosecutor’s sentence recommendation and that he could impose the maximum penalty for his offense •— life imprisonment. In these circumstances, the defendant could not claim that he was unfairly surprised by the severity of his sentence. See
State
v.
Adams,
Prior to trial the defendant had filed motions to have the waist chain removed and to have the Commonwealth’s witnesses sequestered during the trial. No such motions were filed or made during the hearing on the plea.
The judge said, “Let me make it clear. I listened to everything in [the defendant’s] speech and this is all nonsense.”
The judge told the defendant, “I think what you’re saying now is nonsense. And I think it’s all said now because suddenly, sir, it has hit you that the sentence you accepted willingly last week to Walpole is a sentence you do not wish to serve. I think that is what this is all about.”
Standing alone, dissatisfaction with a sentence is never a sufficient reason to grant a defendant’s postsentence motion to withdraw his plea. See
*484
United States
v.
Prince,
A defendant who is dissatisfied with his sentence may file a motion to revise or revoke his sentence (see Mass. R. Crim. P. 29,
The judge acknowledged that he was exercising his discretion. Thus, he said, “Let me tell you something [the defendant] has no right to what I’m prepared to give him. So nobody else sitting in my position has to do what I’m doing.”
The judge said, “What difference does it make? I’m going to remand [the defendant] to jail. I’m going to let him have his trial. So while I can’t try this case, he’s going to stay right where he is until this case comes around for trial. If he wants to sit over there in the Salem House of Correction, that is his business. What difference does it make?”
The Commonwealth did not argue before the judge that Mass. R. Crim. P. 30 (b), rather than Mass. R. Crim. P. 12 (c) (2) (B), governs postsentence motions to withdraw pleas.
Federal R. Crim. P. 32 (d) provides: “A motion to withdraw a plea of guilty or nolo contendere may be made only before sentence is imposed or imposition of sentence is suspended; but to correct manifest injustice the court after sentence may set aside the judgment of conviction and permit the defendant to withdraw his plea.” Under this rule, courts have broad discretion to grant or to deny presentence motions to withdraw pleas. See
United States
v.
Morrow,
Unlike Fed. R. Crim. P. 32(d), Mass. R. Crim. P. 30 (b) does not require a showing of manifest injustice, but only a showing that justice may not have been done.
Massachusetts R. Crim. P. 30 reduces the possibility of prejudice to the Commonwealth by requiring that the defendant make his new trial motion in writing. Under rule 30 the defendant must support this motion with an affidavit and serve a copy of the motion and the accompanying affidavit on the district attorney. These requirements assure the Commonwealth an adequate opportunity to oppose the defendant’s motion. After receiving notice of the motion, the prosecutor has time to check that witnesses are still available, evidence has not been destroyed, or that other circumstances have not changed.
In this case, the Commonwealth learned of the defendant’s motion one day before it was made. In this situation, the prosecutor may not have *486 had an adequate opportunity to show prejudice before the judge granted the defendant’s motion.
On appeal, the Commonwealth does not allege prejudice from the allowance of the motion. We therefore assume that in fact the Commonwealth suffered no prejudice.
Other courts have held that even before sentencing a defendant must come forward with a plausible reason why he should be allowed to withdraw his plea. See, e.g.,
United States
v.
Devins,
Massachusetts R. Crim. P. 30 (c) (2),
In this case, the judge determined that the grounds raised by the defendant were nonsense. Since the defendant did not raise any other grounds, the judge should have denied the defendant’s motion.
Even before sentencing, courts generally do not allow defendants to withdraw their pleas if the prosecution would suffer prejudice. See, e.g.,
United States
v.
Bryant,
