Those treaties are a way of creating a legal framework that can't be altered by national governments. This is not happening against the governments but it's done by the governments to their populations.
This is not US against EU but corporations against people. The idea is to be sure that national governments can't vote against the interest of international business.