Necessity in international investment law. State responsibility towards foreign investors and the necessity defence