Getting the bell out of the communistic rain forest yes indeed.
A lot of Microsoft’s business is licensing, rather than software in a box. Something like a decade (or more) ago, they moved their “licensing company” out of Washington state. Apparently one day the WA tax man came knocking looking for all that nice tax money and they were told, sorry, that’s a different company and they don’t live here.