Part II
Criminal Responsibility
Necessity
15. No act shall be deemed an offence if done by a person compelled to do it by necessity to protect his person, honour or property or the person, honour or property of another from imminent grave danger which he has not willfully caused and which he has no ability to avoid; provided that no injury similar to the injury to be avoided or greater injury results; and provided that necessity does not justify causing death except in the performance of duty.
Necessity - national proceedings
EDIT.