Counsel can argue that a motion to withdraw a plea, under Penal Code 1018, can be filed even years after the sentence was imposed, so long as imposition of sentence was suspended, because under those circumstances, no judgment has ever been entered, so the current motion is timely prior to judgment.
Cal Crim Def 20.27