The Doctrine of Necessity in International Law