Earlier quoted context omitted.
I mean, this is a fairly trivial loophole to close if you have a lawyer who knows what they're doing. In fact, you don't even need to close the loophole. You just need to make FAANG employees pause long enough to worry that they might not comply, deterring them from using said library.
"I mean, this is a fairly trivial loophole to close if you have a lawyer who knows what they're doing." In the same way that it's trivial to write a twitter clone in a weekend, yes. Hundreds of goverments have tried for decades to do what you claim is trivial. Good luck.
What you are presumably referring to is transfer pricing, which is a completely different beast.