The former Yugoslav Republic of Macedonia
GENERAL PART
2. A CRIME AND CRIMINAL RESPONSIBILITY
2.1. General provisions on crime and criminal responsibility
Extreme necessity
Article 10
(1) An act is not a crime, which was committed in extreme necessity.
(2) Extreme necessity exists when the crime was committed in order for the offender to avert from himself or from another a simultaneous obvious danger, which could not be averted in some other way, and hereby the perpetrated evil is not larger than the evil that had threatened.
(3) An offender who himself caused danger by negligence, or who has exceeded the limits of extreme necessity, may be punished more leniently, and if the exceeding was committed under especially alleviating circumstances - he can even be acquitted from punishment.
(4) Extreme necessity does not exist if the offender was obliged to expose himself to danger.
Necessity - national proceedings
EDIT.