The UN does not deal with the Legislative branch of a governmentm, only the Executive Branch.
And it is your thought that that would stop some in our legislative branch from being up to no good, or prevent the UN from merrily going along with it? Perhaps, but I don't know how confident I am about that.