§ 97b Betrayal under erroneous assumption of an illegal secret — StGB

Germany: German Criminal Code

(1) If in the cases of §§ 94 to 97 the perpetrator acts in the erroneous assumption that the state secret is a secret of the kind designated in § 97a, he shall be punished under the designated provisions if
1. this error is attributable to him,
2. he does not act with the intention of counteracting the alleged violation, or
3. the act is not, under the circumstances, an appropriate means to this end.
The act is generally not an appropriate means if the perpetrator has not previously called upon a member of the Bundestag for remedy.

(2) If the state secret was entrusted or made accessible to the perpetrator in his capacity as a public official or as a soldier of the Federal Armed Forces in the course of duty, he shall also be punished if the public official has not previously called upon a superior, or the soldier a disciplinary superior, for remedy. This shall apply accordingly to persons specially obligated for the public service and to persons who have been obligated within the meaning of § 353b Abs. 2.

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