January 8, 2026 By Paul Wallin

Arrested After an Online Sting? A California Court Just Reversed a Conviction Based on Mistake of Age

Being accused of an online sex offense involving a minor can feel overwhelming and frightening—especially when law enforcement claims the case is “open and shut.” But a critical California appellate decision, People v. Ismaiel, proves that what you actually believed matters, even if prosecutors say your belief was “unreasonable.”

This case is important for accused individuals, because it shows that convictions can be reversed when juries are misled about mistake of fact as to age.

Our experienced criminal defense attorneys at Wallin & Klarich can guide you through the legal process. Call Wallin & Klarich today toll-free at (877) 466-5245 for your free consultation with one of our criminal defense attorneys near you.

What Happened in People v. Ismaiel?

In People v. Ismaiel, the accused individual was convicted of arranging to meet a minor for sexual contact after communicating online. The person he believed he was speaking with turned out to be a police officer posing as a minor.

At trial, the accused individual explained something critical:

  • He had deleted the original message thread early in the conversation.
  • When he was contacted again later, the prior messages—including the person’s stated age—were gone.
  • Because of this, he believed he was communicating with a different person who was an adult.

In other words, he claimed he did not believe he was communicating with a minor.

The Jury Was Told the Wrong Thing

Instead of focusing on what the accused individual actually believed, the prosecutor argued—and the jury was instructed—that a mistake of fact must be reasonable to count as a defense.

That instruction was wrong.

California law does not require a mistake of fact to be reasonable if the crime requires a specific intent. A person can act illogically or make a poor judgment and still lack the intent required for a conviction.

Why the Conviction Was Reversed

The Court of Appeal reversed the conviction because the jury was never asked the correct question:

Did the accused individual genuinely believe the person was an adult?

The appellate court explained:

  • A belief does not have to make sense to prosecutors.
  • It does not have to seem logical to jurors.
  • It only has to be honestly held.

Because the accused individual’s testimony was not impossible and not proven false, the court ruled that a properly instructed jury could have believed him. That possibility alone required reversal.

Why This Case Matters If You Are Facing Charges

Many online sting cases rely on:

  • Deleted or incomplete message threads
  • Re-started conversations
  • Assumptions about what a person “must have known”
  • Prosecutors arguing that “no reasonable person would believe this”

People v. Ismaiel makes clear that reasonableness is not the standard. What matters is your actual belief at the time.

If a jury is improperly told otherwise, that error can invalidate the verdict.

You Are Not Automatically Guilty Because Police Say So

Law enforcement and prosecutors often present these cases as airtight. But appellate courts recognize that context, messaging history, and state of mind matter. Even a conviction can be undone if the law is misapplied.

At Wallin & Klarich, our criminal defense attorneys understand how to:

  • Challenge flawed jury instructions
  • Expose improper prosecutor arguments
  • Raise mistake-of-fact defenses
  • Pursue reversals and new trials when your rights are violated

Call Wallin & Klarich Today

If you have been arrested or charged in an online sting case—or if you were convicted and believe the jury was misinstructed—you may still have options. Our experienced criminal defense attorneys at Wallin & Klarich know how to carefully analyze message histories, expose improper prosecutorial arguments, and identify instructional errors that can change the outcome of a case. We have decades of experience defending accused individuals in serious felony cases and fighting to protect their freedom, reputation, and future.

At Wallin & Klarich, we have offices all over Southern California: Irvine, Pasadena, Riverside, San Bernardino, San Diego, Torrance, and Anaheim. Additionally, our law firm can handle many types of cases statewide. 

Discover how our team can assist you. Contact us today, toll-free at (877) 466-5245 for a free consultation with a skilled criminal defense attorney near you.

Paul Wallin

AUTHOR: Paul Wallin

Paul Wallin is one of the most highly respected attorneys in Southern California. His vast experience, zealous advocacy for his clients and extensive knowledge of many areas of the law make Mr. Wallin a premiere Southern California attorney. Mr. Wallin founded Wallin & Klarich in 1981. As the senior partner of Wallin & Klarich, Mr. Wallin has been successfully representing clients for more than 30 years. Clients come to him for help in matters involving assault and battery, drug crimes, juvenile crimes, theft, manslaughter, sex offenses, murder, violent crimes, misdemeanors and felonies. Mr. Wallin also helps clients with family law matters such as divorce and child custody.

Practice area

  • This field is for validation purposes and should be left unchanged.
  • Contact Us Now

    If you or a loved one have been accused of a crime, now is the time to contact us.

Categories
SCHEDULE YOUR free consultation

If you or a loved one have been accused of a crime, this is the time to contact us.

  • This field is for validation purposes and should be left unchanged.