General provision
SECTION II
CRIME
CHAPTER 8
CIRCUMSTANCES EXCLUDING CRIMINALITY OF ACT
Article 39. Grounded risk
39.1. Causing of harm to objects protected by the present Code, at the grounded risk for achievement of socially useful purpose, shall not be instituted as a crime.
39.2. If the specified purpose could not be achieved without risk action (inaction) and a person, who has admitted risk, has taken necessary measures for prevention of harm to objects protected by the present Code, it shall be admitted as grounded risk.
39.3. The risk shall not be admitted as grounded if it was obviously connected to threat life of people, threat of ecological or other accident.
Other defences - national proceedings
EDIT.