Opinion
In this case involving a plea bargain, the prosecution promised not to charge defendant with enhancements based on his service of prior prison terms. In the published portion of this opinion we hold that the plea bargain did not contain an implied condition precluding the trial court from using defendant’s prior prison terms as an aggravating factor to impose the upper term of imprisonment in state prison. 1
Defendant pled guilty before a magistrate to one count of voluntary manslaughter and one count of robbery for crimes committed on or about September 1, 1987. (Pen. Code, §§ 192, subd. (a), 211; further statutory references are to the Penal Code.) The only express conditions of the plea were that the prosecution would not charge any prior prison terms as enhancements (see § 667.5, subd. (b)), and that concurrent sentences would be imposed on the two counts. The superior court sentenced defendant to *1037 the upper term of 11 years in state prison for manslaughter and to a concurrent upper term of 5 years for the robbery. The court also stayed execution of sentence on the robbery pursuant to section 654. Defendant timely appealed.
Discussion
I
Defendant contends the trial court erred in sentencing him to the upper term because the trial court relied on uncharged prior prison terms as the primary factor calling for an aggravated sentence. Defendant argues
People
v.
Harvey
(1979)
Defendant also relies on
In re Knight
(1982)
In
People
v.
Alvarez
(1982)
We think the plea bargain here is best analyzed by applying principles of contract law as we did in
Alvarez.
2
We
*1038
start with the proposition that upon the entry of a plea of guilty, both the People and defendant have such rights and disabilities as are granted or imposed by the law, except as they are limited by the bargain. This proposition is in accord with the fundamental rule of contract law that ordinarily all applicable laws in existence when an agreement is made necessarily enter into the contract and form a part of it.
(City of Torrance
v.
Workers’ Comp. Appeals Bd. (1982) 32
Cal.3d 371, 378 [
In the present context, the People’s “rights” included the right to ask for the punishment the law provides and defendant’s disabilities included the factors the law says may result in greater punishment. When the People agreed not to charge any prior prison terms, they gave up their “right” to seek additional punishment that would flow from enhancements premised on the prior terms. (See § 667.5.) The People kept their bargain.
The People also had an additional legal “right” (and defendant was subject to a legal disability) premised on rule 421(b)(3) of the California Rules of Court. That rule allows the trial court to consider as an aggravating factor that, “The defendant has served prior prison terms whether or not charged or chargeable as an enhancement under section 667.5.” (Italics added; further references to rules are to the California Rules of Court.) Absent a limiting agreement, the People had the “right” to seek aggravation of punishment based on this rule (see § 1170, subd. (b)) and defendant was subject to the disability of having his punishment aggravated. The express terms of the instant plea bargain, whereby the People agreed not to charge prior prison terms, did not limit the application of this rule because by its terms the rule operates even where a prior prison term is not charged.
This leaves the question whether the parties’ agreement contained an implied term precluding application of rule 421(b)(3).
The authority of courts to locate implied terms in contracts was discussed in
Addiego
v.
Hill
(1965)
“[However,] the courts cannot make better agreements for parties than they themselves have been satisfied to enter into or rewrite contracts because they operate harshly or inequitably. It is not enough to say that without the proposed implied covenant, the contract would be improvident or unwise or would operate unjustly. Parties have the right to make such agreements. The law refuses to read into contracts anything by way of implication except upon grounds of obvious necessity. ‘[I]mplied covenants are not favored in the law; and courts will declare the same to exist only when there is a satisfactory basis in the express contract of the parties which makes it necessary to imply certain duties and obligations in order to effect the purposes of the parties to the contract made’ [citation],
“The rules controlling the exercise of judicial authority to insert implied covenants require several concurrent conditions: (1) the implication must arise from the language used or it must be indispensable to effectuate the intention of the parties; (2) it must appear from the language used that it was so clearly within the contemplation of the parties that they deemed it unnecessary to express it; (3) implied covenants can only be justified on grounds of legal necessity; (4) a promise can be implied only where it may be rightfully assumed that it would have been made if attention had been called to it; and (5) there can be no implied covenant where the subject is completely covered by the contract [citation].”
Nothing before us suggests that the instant plea bargain impliedly contains a term precluding use of defendant’s prior prison terms for aggravation. Such a term is unnecessary to give the agreement reasonable meaning, since, as we have noted, the defendant already received a significant
*1040
benefit from the lack of pleaded enhancements. Nor can we think of any public policy requiring such a construction of the agreement. Nor are we aware of any “custom” or “usage” that would require us to find the implied term urged by defendant.
People
v.
Harvey, supra,
Under the circumstances, we have no basis upon which to conclude that the plea bargain expressly or impliedly precluded the use of defendant’s prior prison terms for purposes of aggravation. If defendant wished to avoid the legal disabilities of rule 421(b)(3), it was incumbent on him to negotiate an express bargain to that effect.
Defendant also cites
People
v.
Myers, supra,
The need for a
“Harvey
waiver” was not discussed in
Myers
because defendant had in fact given such a waiver and its propriety (as distinguished from its legal effect) was uncontested. Moreover, the analysis in
Myers
is built upon the People’s concession that the prior convictions had to be pleaded and proved in order to disqualify a defendant from probation. (7) Even assuming for purposes of argument the People’s concession was correct, there is no correlative need here for the procedures mandated by
Myers,
because prior prison terms need not be pleaded and proved to serve as factors aggravating a prison term. (Cf.
People
v.
Baumann
(1985)
*1041 The trial court did not err in using defendant’s prior prison terms to impose the upper term. 4
II-IV *
Disposition
The judgment is affirmed.
Puglia, P. J., and Sparks, J., concurred.
Appellant’s petition for review by the Supreme Court was denied June 1, 1989.
Notes
In an unpublished portion we consider and reject defendant’s contentions that (1) he did not have a fair opportunity to challenge the veracity of the prior prison terms; (2) no substantial evidence shows he served the prison terms; and (3) rule 439(b) of the California Rules of Court is unconstitutional.
“Although the terms of a plea bargain agreement may be ascertained with reference to principles of contract law [citing
Alvarez],
plea bargains are specifically enforced by the courts on
due process
grounds (see
People
v.
Mancheno
(1982)
In the context of civil law the parties are generally presumed to know these laws.
(City of Torrance, supra,
Defendant also contends he was prejudiced by the trial court’s assertedly unlawful use of his prior prison terms to aggravate his sentence because codefendants received lesser sentences. This argument is premised on the illegality of the use of the prior prison terms to aggravate his sentence. Since we perceive no illegality, we perceive no prejudice.
See footnote, ante, page 1034.
