the treaty guarantees their independence from the british