Part I. General Provisions
Chapter 3. Conditions governing criminal liability
Section 47.
No person may be punished for any act that he has committed in order to save someone's person or property from an otherwise unavoidable danger when the circumstances justified him in regarding this danger as particularly significant in relation to the damage that might be caused by his act.
EDIT.