People v. Olea

In People v. Olea (1997) 59 Cal.App.4th 1289, the defendant was charged with multiple burglaries and sex offenses; the complaint stated that conviction of the sex offenses would have resulted in mandatory sex offender registration under section 290. Before trial, the defendant agreed to plead guilty to some of the burglary charges in exchange for dismissal of the other charges. At sentencing, the trial court found that the burglaries were sexually motivated and ordered the defendant to register under section 290, subdivision (a)(2)(E). On appeal, he contended that registration violated the terms of his plea agreement. The court agreed. It found it significant that the complaint had notified the defendant that registration would be a consequence of the sex offenses, so that the defendant "could reasonably believe that dismissal of those counts would eliminate the basis for registration." (Id. at p. 1297.)