GENERAL PART
Aim of the Criminal Code
Chapter III
Obstacles of Criminal Prosecution
Title I
Grounds for the Preclusion of Punishability
Justified Defence
Section 29
(1) The person, whose act is necessary for the prevention of an unlawful attack against that person, his own goods, or those of other persons, or against the public interest, or of an unlawful attack menacing directly the above, shall not be punishable.
(2) That person shall not be punishable either, who exceeds the necessary measure of prevention because he is unable to recognize it due to fright or justifiable excitement.
(3) The punishment may be mitigated without limitation, if the perpetrator is restricted in recognizing the necessary degree of prevention by fright or justifiable excitement.
Self-defence - national proceedings
EDIT.