That's not how these things work. Governments don't give up. Next time they will not make same mistake or get laws passed so this is no longer mistake/illegal or just do it again the same and gamble they get a more cooperative judge.
Every country is not the US. There are still a lot of countries where the people have some say in what goes on and fight against such laws getting created in the first place.
Switzerland is better than the US when it comes to corruption, but it's a far cry from people really having a say.
Iceland HAS recently changed from a politician's country to the people's country, but it took going broke to do so. (If it wasn't for people literally in the streets with pitchforks, the Icelandic prime minister would have signed the country away to European interests).
But I'll accept the premise. So, we've got 2 countries out of a couple of hundreds. That's not "a lot" by any meaning of the word. That's one country (Switzerland) that has recently demonstrated it will do the US' bidding about bank secrecy, despite hundreds of years of tradition (with no asking the people if they like it or not), and Iceland - a country of <400,000 people. That's slightly larger than Rochester, NY. It's comparable to the number of people who lose their job in the US every week.