True, but that’s why groups like G20 exist. They can agree to act as a block. If a “bad actor” decided they wanted to do something like you suggest, the G20 countries could agree on sanctions against that country.
Also, “because someone will figure out a way around it” is not a good reason not to enact a law. Just a reason to make one better.