By the way, after a new French against tax fraud law was created, https://www.legifrance.gouv.fr/jorf/id/JORFTEXT000037518803/, Google was asked about 1 billion euros as a fine from the French state. It was later canceled. So as far as I know, Google doesn't break any obvious French law about tax fraud, but is pretty good at tax evasion.
I have no clues about other countries.
Is tax evasion moral and the good thing to do? Personally, I think it's evil.