They do it through all kinds of countries, like the Netherlands and Ireland.
Ireland is fine and happy with it, they usually catch 1% of their profits. Correct me if I am wrong, but 1% of billions is not peanuts, you can pay a lot of teachers with that money.
The Dutch government on the other hand sort of made clear they find it to be unacceptable. With the current state of the European economy, I wouldn’t spit on a few millions of extra tax income. But maybe that’s just laymen thinking.