When Authoritarians Make International Law