What really determines whether withdrawal from a treaty is permitted