If a state party's withdrawal is successful, its obligations under that treaty are considered terminated, and withdrawal by one party from a bilateral treaty of course terminates the treaty. What happens to a state's obligations under a treaty upon its withdrawal from the treaty