It is an adequate reason for a sentence or other disposition that the defendant, personally and by counsel, has expressed agreement that it be imposed and the prosecuting attorney has not expressed an objection to it. The agreement and lack of objection must be recited on the record. This section does not authorize a sentence that is not otherwise authorized by law.
By agreeing to a specified term in prison or county jail under section 1170(h) personally and by counsel, a defendant who is sentenced to that term or a shorter one abandons any claim that a component of the sentence violates section 654 's prohibition of double punishment, unless that claim is asserted at the time the agreement is recited on the record.
(Subd (b) amended effective January 1, 2017; previously amended effective January 1, 2007.)
Cal. R. Ct. 4.412
Advisory Committee Comment
Subdivision (a). This subdivision is intended to relieve the court of an obligation to give reasons if the sentence or other disposition is one that the defendant has accepted and to which the prosecutor expresses no objection. The judge may choose to give reasons for the sentence even though not obligated to do so.
Judges should also be aware that there may be statutory limitations on "plea bargaining" or on the entry of a guilty plea on the condition that no more than a particular sentence will be imposed. such limitations appear, for example, in sections 1192.5 and 1192.7.
Subdivision (b). This subdivision is based on the fact that a defendant who, with the advice of counsel, expresses agreement to a specified term normally is acknowledging that the term is appropriate for his or her total course of conduct. This subdivision applies to both determinate and indeterminate terms.