An international organization, as a subject of international law, has a legal personality. The legal personality is derived from its constitution. The constitution of an international organization is in the form of a treaty agreed by states establishing such an organization.