info@societejuridique.com
Madrid: Paseo de la Castellana 216 8 ª Planta
Alicante: Av. Ansaldo Nº31, local 16
24h emergencies: 669 30 21 13

Social media:

Article 402 Spanish Criminal Code: Unlawful Exercise of Public Functions

Article 402 of the Spanish Criminal Code punishes with imprisonment of one to three years the person who unlawfully performs acts proper to a person in authority or a public official, attributing to himself official capacity. It is a short provision with a demanding structure: it is not enough to claim a title or to wear a uniform, the accused must actually perform an act reserved to public authority while holding himself out as official.

Wording of Article 402 of the Spanish Criminal Code

A person who unlawfully performs acts proper to a person in authority or a public official, attributing to himself official capacity, shall be punished with imprisonment of one to three years.

Working translation prepared by Société Juridique from the consolidated Spanish text published by the Official State Gazette. It has no official status: the only authoritative version is the Spanish original, available at the Official State Gazette and reproduced verbatim in our Spanish-language entry for this provision. Source: Organic Law 10/1995 of 23 November, the Spanish Criminal Code.

Sentencing range. Imprisonment of one to three years. Where the conduct consisted only in publicly attributing to oneself the quality of a public official or of a professional, without performing any act, article 403 on professional intrusion or the minor offence of usurping a title may apply instead, with materially lower penalties. Any offence committed by means of the false capacity, such as fraud, is punished separately.

Elements of the offence

  1. The performance of acts proper to a person in authority or a public official, that is acts reserved by law to the exercise of public authority.
  2. Attribution to oneself of official capacity, expressly or by conduct capable of creating that belief.
  3. Unlawfulness, meaning the absence of any appointment, delegation or authorisation covering the act.
  4. Intent to pass as an official. Confusion generated by the conduct of third parties, without any such intention, is outside the article.

Defence strategy

No act proper to public authority was performed. The offence requires an act reserved to authority: an identity check, an order backed by public power, a seizure, an inspection with legal effect. Presenting oneself as an official, wearing similar clothing or displaying an emblem, without performing such an act, does not satisfy the element and belongs at most to the minor offence of usurping a title. The defence identifies precisely which act is attributed and whether it produced any legal effect.

Absence of attribution of official capacity. The accused must attribute official capacity to himself. Where a third party assumed it, where the accused corrected the misunderstanding, or where he acted in a private capacity that others misread, the element fails. Recordings, messages and the accounts of those present establish what was actually said.

Existence of a title or authorisation. Security staff, municipal auxiliaries, inspectors of concessionaires and persons acting under delegation frequently perform functions that appear public. Where a contract, appointment or delegation covers the act, the conduct is lawful even if its limits were exceeded, and any excess is a matter for the administrative or employment sphere.

Concurrence with fraud. Where the false capacity was the instrument for obtaining money or property, the offence concurs with fraud under articles 248 to 250. The defence addresses the concurrence under article 77, since prosecutors habitually seek cumulative sentences for what was a single course of conduct, and restitution of the sums obtained bears on both.

Are you under investigation or facing charges in Spain? Société Juridique acts for foreign nationals throughout Spain, with offices in Alicante and Madrid and a 24-hour custody line. +34 669 30 21 13 or enquire online.

This entry is provided for information only and does not constitute legal advice. The application of any provision depends on the circumstances of the individual case and requires examination of the case file by a qualified lawyer.

Logotipos-abogacia-scje
Paseo De La Castellana 216 8º 28046 Madrid
Alicante – Playa de San Juan Av. Ansaldo 31, local 16, 03540 Alicante
Londres: 20 Wenlock Road, N1 7GU, Reino Unido
París: 72 Faubourg St Honoré, 75008, Francia
info@societejuridique.com

Société de Conseil Juridique et Expert es un despacho de abogados con sedes en Madrid, Alicante, Londres y París, especializado en defensa y acusación penal, delitos económicos y corporativos y derecho tecnológico. Trabajamos con orientación estratégica en procedimientos penales complejos, propiedad intelectual y análisis forense avanzado, y prestamos consultoría jurídica, compliance y escudos de protección a particulares y empresas. Atendemos desde Alicante y Madrid, con consulta online en toda España y asistencia al detenido 24 horas. Resuelva sus dudas en las preguntas frecuentes o solicite una primera consulta.

Copyright © 2026 Société de Conseil Juridique et Expert S.L.

EspanolEnglishFrancaisРусскийItalianoDeutsch
WhatsApp · Urgencias 24h