I can't fault anyone for trying to legally minimize their tax burden.
I think what you're missing is the fact that the Tax Office is pursuing Google for an apparently grounded belief that they were, in fact, acting illegally. (That is, making false representations as to the true functional roles of its local subsidiaries, so as to make its locally-generated revenue appear much smaller than it actually is, per a recent El País article).
Not simply for being "clever" and minimizing their tax burden within established guidelines.
I believe you miss the small detail that "El Pais" and other Spanish newspapers and media are technically bankrupt because of Google.
Google and Facebook grew their profits by advertisements, traditional media (that did not innovate anything) lost all this revenue.
So they(traditional media) are terribly biassed against Google and make everything they can to harm the company. They destroyed Google News for example.
If you don't like what the newspapers are saying -- or are suspecting them of severely distorting and/or outright fabricating the reasons behind the raid conducted earlier today -- I'm sure the Hacienda will be putting out their own press releases soon, if they haven't already.
Why would they? If it is not in their interests ("their interests" as in "in the PR interests of politicians who control what the agency does") and there is no legal requirement to do so?
I think what you're missing is the fact that the Tax Office is pursuing Google for an apparently grounded belief that they were, in fact, acting illegally. (That is, making false representations as to the true functional roles of its local subsidiaries, so as to make its locally-generated revenue appear much smaller than it actually is, per a recent El País article).
Not simply for being "clever" and minimizing their tax burden within established guidelines.