Ah but it wasn't unconstitutional. Treaties have the force of constitutional law.
Only if 2/3s of the Confederate Senate approved the treaty.
Ah but it was. The Confederate congress was prohibited by their constitution from passing any law that impaired the right of slave ownership. Treaties may have the force of law but treaties cannot violate the Constitution.