§ 345 Enforcement against Innocent Persons — StGB

Germany: German Criminal Code

(1) Whoever, as a public official called upon to participate in the execution of a sentence of imprisonment, a custodial measure of reform and prevention, or an official detention, executes such sentence, measure, or detention although it may not be executed under the law, shall be punished with imprisonment from one year to ten years, in less serious cases with imprisonment from three months to five years.

(2) If the perpetrator acts negligently, the punishment shall be imprisonment for up to one year or a fine.

(3) Whoever, apart from the cases of subsection (1), as a public official called upon to participate in the execution of a penalty or a measure (§ 11 subsection (1) no. 8), executes a penalty or measure although it may not be executed under the law, shall be punished with imprisonment from three months to five years. The same punishment shall apply to a public official called upon to participate in the execution of
1. juvenile detention,
2. a fine or ancillary consequence under administrative offence law,
3. a regulatory fine or regulatory detention, or
4. a disciplinary measure or a measure of an honorary or professional court
and who executes such legal consequence although it may not be executed under the law. The attempt is punishable.

1871-05-15 
RGBl 1871, 127
Neugefasst durch Bek. v. 13.11.1998 I 3322;; zuletzt geändert durch Art. 1 G v. 20.3.2026 I Nr. 95