General Part
Section 2.
Crime.
Chapter 8.
Circumstances excluding the criminality of the act.
Article 44. Urgent necessity.
1. Inflicting damage to the interests protected by criminal law in the state of urgent necessity, is not considered a crime, i.e., to eliminate the imminent danger to the life, health, rights and legal interests of the given person or persons, to the interests of the society or the state, if this danger could not be eliminated by other means and no limits of urgent necessity have been exceeded.
2. Willfully inflicted damage obviously disproportionate to the imminent danger, its degree and the considerations of elimination of the danger, when the legally protected interests suffered equal or greater damage compared to the prevented damage, is considered exceeding of urgent necessity.
Necessity - national proceedings
EDIT.