Skip to content
A
Alonso Sala
CRIMINAL LAWYERS
ES

Sexual Deepfakes Lawyer (AI & Sexual Offences)

Criminal defense against charges of creating or distributing pornographic montages generated with artificial intelligence.

Last updated:

Sexual deepfakes are pornographic montages generated or manipulated with artificial intelligence that superimpose a real person's face or identity onto bodies or scenes with sexual content. The spread of generative models accessible to the public has multiplied this type of content, raising significant legal challenges affecting privacy, honour, one's own image, moral integrity and, where the victims are minors, sexual indemnity. Spanish law contains no specific "sexual deepfake" offence, so prosecution is channelled through several pre-existing offences that may concur: offences against moral integrity (Art. 173 CP) for degrading treatment; offences against privacy and one's own image (Arts. 197 and 197.7 CP) where real intimate images are used or manipulated content affecting privacy is distributed; offences against honour (Arts. 205, 208 and 211 CP); child pornography (Art. 189 CP) where the victim is a minor; and threats and extortion where they are used as instruments of coercion.

Deepfakes with Minors: Virtual Pornography

Article 189 CP punishes, among other conducts, the production, distribution, display or possession of pornographic material featuring minors or persons with a disability in need of special protection, even where the material is virtual or apparent. Doctrine and case law have extended this concept to deepfakes superimposing a minor's face onto generated or adult bodies. The penalties may reach several years' imprisonment and carry all the ancillary consequences proper to offences against the sexual indemnity of minors.

Deepfakes with Adults

With adult victims, the classification is more complex and circumstance-dependent. The moral integrity offence of Article 173 CP may apply where the deepfake amounts to degrading treatment (public humiliation of sufficient gravity). Article 197.7 CP is difficult to apply directly because it requires images obtained with the affected person's consent; doctrine nonetheless debates its application where real photographs are used as a base. Offences against honour may apply where there is effective damage to reputation or standing.

Authorship, Distribution and Evidence

Authorship and distribution raise specific technical challenges. Authorship of the deepfake may be hard to establish: the creator (the person who used the tool), the distributor (the person who shared the content without necessarily creating it) and the re-poster may bear different liabilities. The defense must analyse: file metadata, the tools and AI models used, the source account, the IP address, forensic computer expert evidence and the chain of distribution.

Specific Defenses

The most relevant lines of defense include: no material authorship of the deepfake (the accused did not create the content, only received it); mistake as to the nature of the material (a belief that it was lawful content involving consenting adults); a satirical or parodic context protected by freedom of expression, where the case-law conditions are met (an evident parodic character, the absence of defamatory intent); the absence of effective distribution (mere private possession); and challenging the digital evidence and the chain of custody. We act before the Investigating Courts, the Criminal Courts, the Provincial Courts and, where complex cross-border or cyber offences are charged, the Central Investigating Courts and the National Court.

balance

Penalty Chart

Type / ScenarioCriminal Penalty
Moral integrityArt. 173 CP: 6 months to 2 years' imprisonment for degrading treatment.
PrivacyArt. 197 CP: possible concurrence where private images were used.
MinorsWhere the deepfake victim is a minor: child pornography (Art. 189 CP).

* Penalties shown are indicative. The actual penalty depends on case circumstances, applicable mitigating and aggravating factors.

Sexual Offenses and Gender Violence in Spain: Legal Defense Guide

Sexual offenses in Spain are governed by Art. 178-194 of the Criminal Code, significantly reformed by Organic Law 10/2022 (the "Only Yes Means Yes" law) and its subsequent correction by LO 4/2023. Gender violence offenses — one of Spain's most prosecuted areas — are found in Art. 153-173 CP, with special aggravated penalties when the victim is an intimate partner.

Penalty Table: Sexual Offenses (Post-2023 Reform)

OffenseArticlePenalty
Sexual assault (basic)Art. 1781 – 4 years
Sexual assault with penetrationArt. 1794 – 12 years
Aggravated sexual assaultArt. 1807 – 15 years
Child sexual abuse (under 16)Art. 1832 – 15 years
Child pornography (holding)Art. 189.53 months – 1 year
Gender violence (minor assault)Art. 153.16 months – 1 year
Stalking / HarassmentArt. 172 ter3 months – 2 years

Critical Defense Strategies

Consent Analysis (Only Yes Means Yes)

Post-reform, consent must be explicit and ongoing. Defense focuses on context, prior relationship history, and how withdrawal of consent was expressed.

False Allegations Defense

False accusations are frequent in custody disputes. Challenge credibility with inconsistencies between statements, phone/message evidence, and expert psychological assessment.

Digital Evidence Review

WhatsApp messages, social media interactions, and digital footprint often contradict prosecution narratives. Comprehensive digital forensics analysis is essential.

Challenging the Expertise Reports

Psychological victim assessments used in court are frequently challenged on methodological grounds. Expert counter-reports are a cornerstone of defense.

gavel

Why Choose Us?

Need a criminal defense lawyer for this type of offense? Here's how we work:

check
No AuthorshipThe accused was not the person who created or distributed the deepfake.
check
Satire/ParodyThe content was evidently parodic, with no intent to harm.
check
Forensic Computer EvidenceForensic analysis of metadata and of the AI tools used.
workspace_premium
+15 Years of ExperienceTeam dedicated exclusively to criminal law before Spanish courts and tribunals.
support_agent
Direct AttentionYour case is handled directly by a senior lawyer of the firm.
Consult My Casearrow_forward

Do you need specialised legal assistance?

The judicial system is complex. We have the criminal-law specialisation and technical resources required to take on the defence.

call