۱. Necessity may not be invoked by a State as a ground for precluding the wrongfulness of an act not in conformity with an international obligation of that State unless the act:
(a) is the only way for the State to safeguard an essential interest against a grave and imminent peril; and
(b) does not seriously impair an essential interest of the State or States to wards which the obligation exists, or of the internationational community as a whole.
۲. In any case, necessity may not be invoked by a State as a ground for precluding wrongfulness if:
(a) the international obligation in question excludes the possibility of invoking necessity; or
(b) the State has contributed to the situation of necessity.