Pleading Guilty to a Lesser Nonincluded but Related Offense

In People v. Smith (1975) 53 Cal.App.3d 655, a trial court improperly encroached upon the prosecutor's function by allowing the defendant to plead to an uncharged battery where assault by means of force likely to produce great bodily injury was alleged. (Id. at pp. 657, 659.) "The court acted beyond its authority in accepting a plea of guilty to a lesser nonincluded but related offense over the prosecutor's objection." (Id. at p. 660.)