Google creates Google Ireland to hold their IP, then Google Ireland "charges" Google Germany.
The problem is, that GDP doesn't stay in Ireland. It flows to the US.