That is a good question.
Generally speaking, international obligations are not backed by sanctions. Rather, countries themselves impose their own sanctions, by which I mean that they give themselves the legislative tools to ensure they respect their international commitments.
It is after all a moral engagement. International treaties encourage compliance with commitments.