Article 64 Vienna Convention on the Law of Treaties
Emergence of a new peremptory norm of general international law (“jus cogens”)
If a new peremptory norm of general international law emerges, any existing treaty which is in conflict with that norm becomes void and terminates.
See also: Article 63 Vienna Convention on the Law of Treaties