Convention, protocol, and agreement are examples of examples of different kinds of what that can create confusion about a treaty?
Conversely some legal documents such as the Treaty of Waitangi are internationally considered to be documents under domestic law.