The Treaty of Waitangi is a founding text in New Zealand, which documents a political agreement signed in 1840 between Captain William Hobson as consul for the British Crown, and a number of Māori chiefs. It is common to refer to it as an agreement which is not a legal document, for example:
In Wikipedia:
The treaty document is an agreement, not a treaty as recognised in international law
In The Guardian:
The Treaty of Waitangi / Te Tiriti o Waitangi – considered New Zealand’s founding document – was signed in 1840 by the British Crown and about 540 Māori chiefs to establish a nation state. While not a legal document, some treaty principles have been developed and included in legislation.
In Cox (2002) - The Treaty of Waitangi and the Relationship Between the Crown and Maori in New Zealand
Orthodox theory holds that the Treaty of Waitangi (“Treaty”) has a socio-political, not legal, force, as it was not a treaty recognized under international law[.]
This is unintuitive to say the least. I can understand that maybe the "Treaty" is misnamed, but it is a formal documented agreement between an agent of the British Crown and local authorities. Why is it not a treaty in the same sense of other colonial agreements such as the British Treaty of Amritsar, or the US Treaty with Creek Indians?