Wrong comparison. A politician is to government what a CEO is to a company. Loads of CEOs make terrible decisions to appease the stock market short-term, then leave the company before shit hits the fan. Replace "CEOs" with "prime ministers" and "stock market" with "electorate". Human nature is what it is.
The point is, these executives are not living in Ireland or Panama but in the valley or some highly developed country in Europe. So while the enjoy the benefits of those countries, the want to avoid paying taxes.
No one has anything against people who want to enjoy Irish tax laws who move to Ireland. Or people who want to have a company in Panama to move to Panama.
Not to mention that executives don't "have" companies, shareholders do.
You can twist my words to "Is it wrong for Toyota to open a subsidiary in the US?" as you like, it doesn't change the point.
Some people bring arguments, some play word games "Not to mention that executives don't "have" companies"