gno.law

People v. Contreras CA4/1

California Court of Appeal · D079183 · 2022-07-12 · Unpublished

Proceeding
appeal from orders
Trial court
Superior Court of San Diego County · No. SCD285549;SCD287881;SCS317985
Trial judge
Albert T. Harutunian III
Outcome
modified — Affirmed as modified; remanded with directions.
Area
criminal
Panel
William S. Dato (author), Judith D. McConnell, Joan K. Irion

Analysis

A model's reading — qwen3.8-27b, prompt v1, 2026-10-13T04:48Z · confidence high

The trial court imposed a probation condition allowing warrantless searches of electronic devices based on a general assumption that such devices contain communications about firearms. The Court of Appeal affirmed the conviction but modified the judgment by striking the electronics search condition and remanding for the trial court to consider reimposing it based on Contreras's history of using cell phones for drug sales.

Ruling reviewedStandardThe courtThe model
Imposition of probation condition 6(n) allowing warrantless searches of electronic devices
“The trial court’s rationale—that electronic devices “can contain” communications about guns—is a broad generalization insufficient under Ricardo P.”
abuse of discretionerroragree with court
The trial court relied on a generalized assumption that electronic devices contain firearm-related communications, which the appellate court found insufficient under the specific nexus requirement established in In re Ricardo P. The appellate court correctly applied the standard that a probation condition must have a specific, case-specific relationship to preventing future criminality, not just an abstract one. Because the record contained no evidence linking Contreras's current firearms offenses to electronic device use, the trial court's rationale was legally insufficient.
Requirement of a certificate of probable cause to appeal the probation condition
“The mere fact that [the defendant] knew some unspecified ‘reasonable’ restrictions or requirements could be imposed as a condition of his probation does not mean he was agreeing to accept anything the court decided to include, regardless of how unreasonable he thought it was.”
de novonot reachedagree with court
The appellate court held that a certificate of probable cause was not required because the specific probation condition was imposed after the plea, falling under the exception for matters occurring after the plea that do not affect its validity. The court relied on People v. Patton to reject the argument that the plea agreement's stipulation to 'reasonable' conditions waived the right to appeal specific, later-imposed conditions. This aligns with the procedural rule that challenges to specific sentencing terms not fixed at the time of the plea are not attacks on the validity of the plea itself.
Waiver of appeal rights via plea agreement
“It holds that a waiver of “any sentence stipulated herein” does not encompass “particular conditions of probation that were yet to be determined in future proceedings,” such as the electronics search condition here.”
de novonot reachedagree with court
The appellate court determined that the waiver of appeal rights in the plea agreement, which covered 'any sentence stipulated herein,' did not waive the right to appeal the electronics search condition because that specific condition was not stipulated in the plea but was determined later by the court. The court applied the holding from People v. Patton that such waivers do not extend to conditions left open or unaddressed by the plea deal. This interpretation is consistent with the principle that a defendant cannot waive the right to challenge a sentence term that has not yet been imposed.

Authorities

  • relied: In re Ricardo P. (2019) 7 Cal.5th 1113 — A probation condition allowing warrantless searches of electronic devices requires a specific, case-specific relationship to preventing future criminality, not just a general or hypothetical one.
  • relied: People v. Patton (2019) 41 Cal.App.5th 934 — A certificate of probable cause is not required to appeal a probation condition imposed after a guilty plea if the specific condition was not stipulated in the plea agreement, and such conditions are not waived by a general waiver of appeal rights for stipulated sentences.
  • relied: People v. Lent (1975) 15 Cal.3d 481 — A probation condition is invalid if it is not reasonably related to the defendant's crime, relates to otherwise legal conduct, or requires/forbids conduct not reasonably related to preventing future criminality.
  • relied: People v. Cota (2020) 45 Cal.App.5th 786 — Under In re Ricardo P., there must be a specific relationship grounded in the facts of the case between the probation condition and preventing future criminality; a condition may be struck without prejudice to reinstatement on a proper showing.
  • relied: Border Business Park, Inc. v. City of San Diego (2006) 142 Cal.App.4th 1538 — When the record clearly demonstrates what the trial court did, the appellate court will not presume it did something different.
  • relied: People v. Bland (1995) 10 Cal.4th 991 — There is a well-understood connection between firearms and the transportation and/or sale of illegal drugs.
  • relied: People v. Bradford (1995) 38 Cal.App.4th 1733 — There is a well-understood connection between firearms and the transportation and/or sale of illegal drugs.

The appellate opinion: sound — The opinion correctly applies the specific nexus requirement from In re Ricardo P. to strike the electronics search condition based on the trial court's generalized rationale. It also correctly resolves the procedural issues regarding the certificate of probable cause and waiver of appeal rights by relying on the binding precedent of People v. Patton, which is directly on point. The remand for reconsideration based on the defendant's criminal history involving cell phone use for drug sales is a defensible exercise of discretion that allows the trial court to make a specific finding.

How this analysis was made · dispute it

unusual disposition

A model's reading — claude-fable-5-1, prompt v1, 2026-10-13T04:30Z · confidence low

The San Diego Superior Court, after Contreras pleaded guilty to felon-in-possession, ammunition, and billy-club offenses, granted two years' probation and over a Ricardo P. objection imposed condition 6(n) permitting warrantless searches of his electronic devices, reasoning that such devices 'can contain' communications about firearms. The Court of Appeal held no certificate of probable cause was required and the appeal was not waived, found the stated rationale a generalization insufficient under Ricardo P., ordered the electronics search condition stricken, and remanded so the trial court could consider reimposing it based on probation-report evidence of prior cellphone use in drug sales, while also directing correction of a clerical concurrent/consecutive error.

Ruling reviewedStandardThe courtThe model
Whether a certificate of probable cause under Penal Code section 1237.5 was required to appeal the electronics search condition imposed after the guilty plea
“We are not persuaded that Patton’s analysis is wrong.”
de novocorrectagree with court
The court applied rule 8.304(b)(2)(B) and its own decision in People v. Patton, holding that a condition not specified in the plea and imposed only at sentencing is a matter 'occurring after the plea' that does not attack the plea's validity. This is consistent with the Supreme Court's approach in People v. Buttram, which the court did not cite but which supports the result; the AG's argument that knowledge of future 'reasonable' conditions converts the challenge into an attack on the plea was properly rejected.
Whether the plea agreement's waiver of the right to appeal 'any sentence stipulated herein' and acknowledgment of 'any other conditions deemed reasonable by the Court' waived appellate review of the electronics search condition
“But acknowledging the trial court may impose conditions it deems reasonable does not mean a defendant foregoes appellate review of conditions that are unreasonable.”
de novocorrectagree with court
The waiver by its terms covered only the stipulated sentence (NOLT concurrent custody), not unspecified probation conditions to be fixed later; Patton construed identical language the same way. Appellate waivers are construed by their terms and a general waiver does not reach conditions left open by the bargain, so the court's reading is sound.
Imposition of probation condition 6(n) authorizing warrantless searches of computers and electronic devices over a Ricardo P./Lent objection
“The trial court’s rationale—that electronic devices “can contain” communications about guns—is a broad generalization insufficient under Ricardo P.”
unclearerror (discretion)agree with court
The opinion never articulates a standard of review, though probation conditions are ordinarily reviewed for abuse of discretion under Lent and Olguin. On the merits the analysis tracks Ricardo P.: nothing in the record tied the weapons offenses to electronic devices, and the court's rationale was the same type of generalized assumption the Supreme Court rejected; the court properly declined to affirm on grounds (criminal history, poor probation performance) the trial court did not invoke. The remand without prejudice to reimposition on a proper showing follows Cota and is defensible given the probation-report entries about cellphone text messages in prior drug sales and the recognized drug-firearm nexus.
Paragraph 1(c) of each probation order stating custody was both concurrent and consecutive, contrary to the parties' agreement that custody run concurrently
“On remand, the orders should be amended to strike “consecutive to” in condition 1(c) in each of the three probation orders.”
unclearerror (procedure)agree with court
The parties agreed the custody terms were concurrent and the inconsistent language was conceded to be clerical. Appellate courts may order correction of clerical errors in orders at any time, so directing the amendment on remand is proper.

Authorities

  • relied: In re Ricardo P. (2019) 7 Cal.5th 1113 — An electronics search condition is burdensome and intrusive and requires a substantial, particularized justification grounded in the facts of the case, not a generalized assumption about how people use devices; conditions may rest on probation-report information about future criminality unrelated to the offense.
  • relied: People v. Patton (2019) 41 Cal.App.5th 934 — No certificate of probable cause is required, and a waiver of 'any sentence stipulated herein' does not bar, an appeal from a probation condition not specified in the plea and imposed later at sentencing.
  • relied: People v. Lent (1975) 15 Cal.3d 481 — A probation condition is invalid if it has no relationship to the crime, relates to otherwise legal conduct, and is not reasonably related to future criminality.
  • relied: People v. Cota (2020) 45 Cal.App.5th 786 — Under Ricardo P. there must be a specific, fact-based relationship between an electronics search condition and preventing future criminality; a condition may be stricken without prejudice to reinstatement on a proper showing.
  • relied: People v. Bland (1995) 10 Cal.4th 991 — Recognizes the well-understood connection between firearms and drug trafficking.
  • relied: People v. Bradford (1995) 38 Cal.App.4th 1733 — Recognizes the connection between firearms and the sale or transportation of illegal drugs.
  • relied: Border Business Park, Inc. v. City of San Diego (2006) 142 Cal.App.4th 1538 — Where the record clearly shows what the trial court did, the reviewing court will not presume it did something different.
  • missed: People v. Buttram (2003) 30 Cal.4th 773 — No certificate of probable cause is needed to challenge a sentencing choice left to the trial court's discretion by the plea agreement, because such a challenge does not attack the validity of the plea.
  • missed: People v. Panizzon (1996) 13 Cal.4th 68 — A challenge to a sentence that was itself an integral part of the negotiated plea is an attack on the plea's validity requiring a certificate of probable cause.

The appellate opinion: sound with gaps — The court correctly applied Ricardo P. and Lent to strike a condition resting on a generalized assumption, properly refused to affirm on grounds the trial court did not state, and followed Cota in permitting reconsideration on remand given probation-report evidence of prior cellphone use in drug dealing. It did not, however, state the standard of review or engage the Supreme Court's certificate-of-probable-cause framework in Buttram and Panizzon directly, relying instead on its own Patton decision.

How this analysis was made · dispute it

Opinion

Filed 7/12/22 P. v. Contreras CA4/1 NOT TO BE PUBLISHED IN OFFICIAL REPORTS California Rules of Court, rule 8.1115(a), prohibits courts and parties from citing or relying on opinions not certified for publication or ordered published, except as specified by rule 8.1115(b). This opinion has not been certified for publication or ordered published for purposes of rule 8.1115.

COURT OF APPEL, FOURTH APPELLATE DISTRICT

DIVISION ONE

STATE OF CALIFORNIA

THE PEOPLE, D079183

Plaintiff and Respondent, v. (Super. Ct. Nos. SCD285549; SCD287881; SCS317985) MIGUEL ANGEL CONTRERAS, Defendant and Appellant.

APPEALS from orders of the Superior Court of San Diego County, Albert T. Harutunian III, Judge. Affirmed as modified; remanded with directions. Reed Webb, under appointment by the Court of Appeal, for Defendant and Appellant. Rob Bonta, Attorney General, Lance E. Winters, Chief Assistant Attorney General, Julie L. Garland, Assistant Attorney General, Arlene A. Sevidal and Robin Urbanski, Deputy Attorneys General, for Plaintiff and Respondent. This is another case challenging a probation condition allowing warrantless searches of electronic devices. (See In re Ricardo P. (2019) 7 Cal.5th 1113 (Ricardo P.).) After Miguel Angel Contreras pleaded guilty to unlawfully possessing a gun, ammunition, and billy club, the superior court suspended imposition of sentence and granted two years’ probation on various conditions. These included condition 6(n), in which Contreras consented to warrantless search of, among other things, his electronic devices.1 Rejecting defense counsel’s Ricardo P. objection, the court stated, “electronic devices can contain indications of communications about firearms.” As we explain, the record contains nothing indicating a connection between the firearms offenses of which Contreras was convicted and using an electronic device. The trial court’s rationale—that electronic devices “can contain” communications about guns—is a broad generalization insufficient under Ricardo P. As a result, electronics search conditions must be stricken. However, Contreras’s criminal history includes several drug offenses, and for two of them the probation report states, “[A] check of his cellphone revealed several text messages related to drug sales.” Moreover, at the time of sentencing, Contreras continued to suffer from a substance abuse problem, admitting to the probation officer that he uses heroin.

1 Condition 6(n) provides that Contreras will “[s]ubmit person, vehicle, residence, property, personal effects, computers, and recordable media including electronic devices to search at any time with or without a warrant, and with or without reasonable cause, when required by [the parole officer] or law enforcement officer.” (Italics added.) He challenges this probation condition only with respect to “computers, and recordable media including electric devices.” References to “electronics search condition” are to these aspects only. 2 It appears that the trial court was simply unaware of the information in the probation report connecting Contreras’s use of an electronic device with prior crimes. We will remand to afford the court an opportunity to exercise its discretion to consider this information in determining whether to reimpose the electronics search condition.2 FACTUAL AND PROCEDURAL BACKGROUND In June 2021 Contreras pleaded guilty in two separate cases to (1) being a felon in possession of a firearm (No. SCD287881); and (2) unlawfully possessing ammunition (No. SCD285549). (Pen. Code,3 §§ 29800, subd. (a)(1), 30305, subd. (a)(1).) In a third case (No. SCS317985), he pled guilty to possessing a billy club. (§ 22210.) In a single sentencing hearing the court addressed all three of Contreras’s cases, granting two years’ probation with one year in jail (less specified credits) to run concurrently.4 In each case the court imposed an electronics search condition of probation which states:

2 We invited and have reviewed supplemental briefs on this issue. 3 Undesignated statutory references are to the Penal Code. 4 The parties agree that custody was to run concurrently. But apparently due to clerical error, paragraph 1(c) in each of the three orders states custody to be both concurrent and consecutive, as this excerpt from one of the probation orders shows:

On remand, the orders should be amended to strike “consecutive to” in condition 1(c) in each of the three probation orders. 3 “The defendant shall: [¶] . . . [¶] “n. Submit . . . computers, and recordable media including electronic devices to search at any time with or without a warrant, and with or without reasonable cause, when required by [a probation officer] or law enforcement officer. [¶] . . . [¶] “Search authorization does not extend to medical/legal information, financial accounts or transactions, or to any data created before the acceptance of this probation grant.” At sentencing, defense counsel objected “to condition 6(n) as it extends to electronic media for a lack of nexus under [Ricardo P.]” The trial court disagreed and imposed condition 6(n), stating:

“The Court does believe [condition] (n) is appropriate and has a nexus, with someone who is repeatedly in possession of firearms, that I think electronic devices can contain indications of communications about firearms, obtaining firearms, [and] disclosing of firearms.”

DISCUSSION

A. Contreras Was Not Required to Obtain a Certificate of Probable Cause to Challenge the Electronics Search Condition. The Attorney General contends we should not reach the merits of Contreras’s appeal because he did not obtain a certificate of probable cause under section 1237.5 after entering his guilty plea. That section generally prohibits appeals following pleas of guilty or no contest unless the defendant first obtains a certificate from the trial court attesting that there are reasonable grounds for the appeal. There is, however, an exception. A certificate of probable cause is not necessary for appealing “matters occurring after the plea . . . that do not affect the validity of the plea . . . .” (Cal. Rules of Court, rule 8.304(b)(2)(B).)

4 In People v. Patton (2019) 41 Cal.App.5th 934 (Patton), this court considered whether a certificate of probable cause was required to appeal a probation condition subjecting electronic devices to warrantless search. We held no certificate was necessary where—although the plea agreement contemplated a grant of probation with “reasonable” conditions—the specific condition being challenged was not imposed until later sentencing. (Id. at p. 940.) Here, the Attorney General concedes that Patton is “very similar,” but for two reasons claims it was wrongly decided. First, he notes that when entering his guilty plea, Contreras knew that the trial court would later impose reasonable probation conditions. Thus, the Attorney General insists “the challenge of the search condition is not based on grounds occurring after the plea, but rather is an attack on the plea itself, requiring a certificate of probable cause.” The insurmountable problem with this argument is we rejected the same one in Patton: “The mere fact that [the defendant] knew some unspecified ‘reasonable’ restrictions or requirements could be imposed as a condition of his probation does not mean he was agreeing to accept anything the court decided to include, regardless of how unreasonable he thought it was.” (41 Cal.App.5th at p. 940.) We are not persuaded that Patton’s analysis is wrong. Second, the Attorney General contends Patton erroneously “seems to suggest that a defendant may avoid the certificate of probable cause requirement based simply on his subjective belief at the time he entered the plea as to what a reasonable sentence would be.” But as Patton explains, the fundamental question is whether the defendant is challenging something “ ‘left open or unaddressed by the [plea] deal.’ ” (Patton, supra, 41 5 Cal.App.4th at p. 940.) The fact that the plea agreement contemplated reasonable-but-unspecified conditions of probation does not change the fact that the specific conditions—and thus the grounds for a challenge— “occurr[ed] after the plea” within the meaning of California Rules of Court, rule 8.304(b)(2)(B).

B. Contreras Did Not Waive This Appeal In each plea, Contreras agreed to the following sentences:

Case Sentencing Agreement Unlawful possession of ammunition, “NOLT concurrent with case No. SCD285549 [S]CD287881. Dismiss [balance].”5 Unlawful possession of firearm, “NOLT concurrent with case No. SCD287881 [S]CD285549. Dismiss balance. Stipulate to gang conditions.”

Possession of billy club, “Stip NOLT. Concurrent to No. SCS317985 [S]CD285549, [S]CD287881. Dismiss balance.”

Each plea also contains a waiver of appeal rights, stating:

“8. (Appeal Rights) I give up my right to appeal the following: 1) denial of my 1538.5 motion, 2) issues related to strike priors . . . , and 3) any sentence stipulated herein.” (Italics added.)

5 NOLT means the district attorney will not oppose county jail time. (See Patton, supra, 41 Cal.App.5th at p. 942, fn. 6.) 6 The Attorney General contends this provision waives Contreras’s right to appeal the electronics search condition. But on this issue too, Patton is dispositive. It holds that a waiver of “any sentence stipulated herein” does not encompass “particular conditions of probation that were yet to be determined in future proceedings,” such as the electronics search condition here. (Patton, supra, 41 Cal.App.5th at p. 943.) In a related argument, the Attorney General also contends the appeal has been waived because Contreras initialed a paragraph in the plea agreement stating, “I may be given up to a year in jail custody, plus the fine, and any other conditions deemed reasonable by the Court.” But acknowledging the trial court may impose conditions it deems reasonable does not mean a defendant foregoes appellate review of conditions that are unreasonable. (Patton, supra, 41 Cal.App.5th at p. 940.)

C. The Electronics Search Condition Cannot Be Imposed on the Grounds Stated by the Trial Court A probation condition is invalid where it is: (1) not reasonably related to the defendant’s crime, and (2) relates to conduct that is otherwise legal, and (3) requires or forbids conduct not reasonably related to preventing future criminality. (People v. Lent (1975) 15 Cal.3d 481, 486 (Lent).) The application of the third Lent factor to an electronic device search condition was the centerpiece of Ricardo P. There, a juvenile who committed a burglary challenged a probation condition allowing warrantless searches of his electronic devices. (Ricardo P., supra, 7 Cal.5th 1113.) The trial court justified the condition on the grounds that it would facilitate monitoring the juvenile’s compliance with probation terms prohibiting drug use. Although there was no evidence that the juvenile had used his phone to purchase drugs, the trial court reasoned that in general, juveniles use their phones to buy drugs and brag about drug use online. (Id. at pp. 1119‒1120.) Striking 7 the search condition, the Supreme Court observed that “requiring a probationer to surrender electronic devices and passwords to search at any time is . . . burdensome and intrusive, and requires a correspondingly substantial and particularized justification.” (Id. at p. 1126.) Reasonableness necessitates “more than just an abstract or hypothetical relationship between the probation condition and preventing future criminality.” (Id. at p. 1121.) Thus, under Ricardo P., “there must be a specific relationship—grounded in the facts of the case—between the condition and preventing future criminality.” (People v. Cota (2020) 45 Cal.App.5th 786, 790 (Cota).) The same concerns involved in Ricardo P. also exist here. Under condition 6(n), Contreras’s electronic devices can be searched at any time without a warrant. As in Ricardo P., the condition was imposed based on a general assumption. In Ricardo P., the trial court assumed that drug users routinely buy drugs using their cell phone. Here, the court assumed that if Contreras became involved in any future firearms offense, he would use an electronic device. The assumption is undoubtedly a reasonable one in general. Almost everyone—and especially those in their mid-20’s like Contreras —uses electronic devices for communicating. But under Ricardo P., generalizations like this are not enough. In seeking to uphold imposing condition 6(n), the Attorney General emphasizes that the court modified the standard form to preclude searches of medical and legal information, financial accounts or transactions, or any data generated before the grant of probation. But even as so limited, the problem remains: there is no evidence of any case-specific relationship between condition 6(n) and Contreras’s weapons offenses.

8 The Attorney General also argues that Contreras’s “lengthy criminal history” and prior poor performance on probation justify “the need for close monitoring.” But the trial court did not cite those factors. Instead, it imposed the electronics search condition only because Contreras was “repeatedly in possession of firearms” and “electronic devices can contain indications of communications about firearms, obtaining firearms, [and] disclosing of firearms.” Where, as here, “ ‘[T]he record clearly demonstrates what the trial court did, [and] we will not presume it did something different.’ ” (See Border Business Park, Inc. v. City of San Diego (2006) 142 Cal.App.4th 1538, 1550.) Nevertheless, it may be appropriate to impose a probation condition that, although not directly connected to the crime for which probation is granted, is related to the probationer’s personal and criminal history. In Ricardo P., the Supreme Court reasoned “that ‘conditions of probation aimed at rehabilitating the offender need not be so strictly tied to the offender’s precise crime’ [citation] so long as they are ‘reasonably directed at curbing [the defendant’s] future criminality’ [citation].” (7 Cal.5th at p. 1122.) Indeed, the court noted that “ ‘courts may properly base probation conditions upon information in a probation report that raises concerns about future criminality unrelated to a prior offense.’ ” (Ibid.) According to the probation report, Contreras has a long history of drug related offenses. He has five previous misdemeanor drug convictions and two prior felony drug convictions. These include a felony conviction in 2014 where the probation report explains:

9 “Officers contacted the defendant for a bicycle code violation. A search of his person netted 1.23 grams of methamphetamine in six different baggies, and a check of his cellphone revealed several text messages related to drug sales.” (Italics added.) He also pled to being under the influence of a controlled substance and served 180 days in jail. In 2015, Contreras pled guilty to transporting controlled substances. The probation report states:

“The defendant was found in possession of 4.8 grams of methamphetamine and a check of his cellphone revealed text messages that indicated he was involved in drug sales.” (Italics added.) In July 2017 and again in September 2019, Contreras pled guilty to possessing controlled substances. Just before his sentencing in this case, he told the probation officer he was using heroin. In addition, Contreras has a dismal record while on probation. He has been granted probation on four occasions , and sustained multiple revocations Courts have granted and later revoked Post Release Community Supervision on multiple occasions. Indeed, Contreras was arrested in the third case (possession of a billy club) while on probation in another case. Although there is nothing in the record to support imposing the electronics search condition based solely on Contreras’s weapons offenses, his extensive criminal history includes previous use of a cellphone in connection with his possession and sale of controlled substances. We note, as have other courts, the well-understood connection between firearms and the transportation and/or sale of illegal drugs. (See, e.g., People v. Bland (1995) 10 Cal.4th 991, 1005; People v. Bradford (1995) 38 Cal.App.4th 1733, 1739.) Given Contreras’ criminal history and his consistently poor performance while on probation, the trial court should be given an opportunity to decide whether the electronics search condition is reasonably related to his future 10 criminality. (Cota, supra, 45 Cal.App.5th at p. 790 [striking a probation condition without prejudice to reinstatement on a proper showing].) We express no opinion regarding how the court’s discretion should be exercised.

DISPOSITION The matter is remanded with instructions to strike the electronics search condition in each of the probation orders. After receiving input from the parties, the trial court may consider whether or not to reimpose it on a proper showing. (See Cota, supra, 45 Cal.App.5th at p. 790.)

DATO, J.

WE CONCUR:

McCONNELL, P. J.

IRION, J.

Cites, in this corpus