A treaty is an official, express written agreement that states use to legally bind themselves. A treaty is the official document which expresses that agreement in words; and it is also the objective outcome of a ceremonial occasion which acknowledges the parties and their defined relationships.