One works within the law and the other works outside of it, I'd say there's a substantial difference. Offshoring your HQ to Ireland or the CI is very different from finding write-offs in the code and maximizing your use of them on the books.
extreme example, but the gas camps were legal at the time. just because tax optimisation is legal doesnt mean it's moral, or good long term for the host country.