They were created so the local companies wouldn't hire foreign citizens under the table, skirting taxes and depressing wages for local workers, which would be an unpopular outcome amongst voters.
For every petit-bourguoise privileged nomad software engineer there are thousands of potential low-skill foreign workers that companies are eager to employ to pay less and circumvent local worker protection laws.
All the fiscalization and enforcement structure along with the law is designed for this use case and any seemingly innocuos exception on the law can be exploited by bad actors, so, govern are relutant to do so just because a few rich kids from sillicon valley want to play modern colonial dandy.