Furthermore, at least in the US, no treaty is in effect until it is ratified by the Senate, at which point all the elements of the treaty will be public and heavily debated down to the last comma.
Not if the treaty specifically states that the documents will be kept secret afterwards:
Additionally, the current draft also includes language inferring that, upon the finishing of negotiations, the document will be kept classified for five full years.
Now, they prosecute somebody, and simply say that the defendant doesn't have a right to hear the evidence against him, and the Constitution doesn't apply.
Oh it is worse than that. Nowadays they send in US Marshals to destroy evidence so that the courts do not even get a chance to deny access to the evidence.
But hey, if you are okay with it, then that is fine. I was just making sure we didn't have a hypocrisy on our hands. To any publishers who may be reading: get on this!