The public often doesn't mind because more tax = social justice apparently.
Another example that happened in my homeland is when Vodafone kept winning tax cases regarding the treatment of capital gains against the government. They won when the previous government was in power but this government kept fighting despite losses in every single court. They changed the law to tax them and then they lost in international arbitration. Very shameless.