*627 Opinion
Petitioner was charged with burglary and receiving stolen property. In the municipal court he entered a conditional plea of guilty to the burglary. The plea was conditioned upon the petitioner not receiving a prison sentence.
Superior Court Judge Simon Marootian refused to accept the plea when the defendant appeared in the superior court. On remand to the municipal court, the petitioner again entered a conditional plea of guilty to the burglary, the condition being that he not be initially sentenced to state prison, but that he could be sentenced to the California Rehabilitation Center. Petitioner then filed an affidavit of prejudice and moved to disqualify Judge Marootian under Code of Civil Procedure section 170.6. Petitioner now seeks a writ ordering the trial judge to grant the motion for disqualification. We grant the writ.
Real party contends that the hearing on a plea bargain does not involve a “contested issue of law or fact” within the meaning of the first sentence of subdivision (1) of the statute. Real party relies on
Fraijo
v.
Superior Court
(1973)
*628 While the issues may not be disputed between the prosecution and the defense, there may well be a conflict between the defense and the court over these matters. If the judge questions whether the public interest would be served by accepting the plea, there would appear to be a contested issue just as much as if the conflict was between the prosecution and the defense. The purpose of the statute, to prevent a judge who one of the parties feels may be biased from ruling on an issue, would appear to be implemented by applying the statute to these situations.
Furthermore, in this, as in many plea bargains, the exact sentence to be given the defendant is left open to question and there is the possibility of a contest between prosecution and defense as to what that sentence should be.
Where sentencing is conducted by the same judge who accepts the plea, a motion to disqualify must be made before the plea bargain is accepted — otherwise the motion is untimely.
(Smith
v.
Municipal Court
(1977)
Waiver is not involved in the matter before us because, unlike a “retrial” (see
Pappa
v.
Superior Court
(1960)
Let a writ of mandate issue directing Judge Marootian to disqualify himself.
Gargano, Acting P. J., and Thompson, J., * concurred.
