Treaty:

Treaties sometimes include provisions for self-termination, meaning that the treaty is automatically terminated if certain defined conditions are met. Some treaties are intended by the parties to be only temporarily binding and are set to expire on a given date. Other treaties may self-terminate if the treaty is meant to exist only under certain conditions.[citation needed]

Please answer a question about this article. If the question is unanswerable, say "unanswerable". What happens to a treaty that was designed to terminate under certain conditions when those conditions are actually met?
automatically terminated