Article 5 Vienna Convention on the Law of Treaties
Treaties constituting international organizations and treaties adopted within an international organization
The present Convention applies to any treaty which is the constituent instrument of an international organization and to any treaty adopted within an international organization without prejudice to any relevant rules of the organization.
See also: Article 4 Vienna Convention on the Law of Treaties