This smells very much like a power play by an American executive who is not familiar with just how aware European workers are about their rights.
Does not seem to be exist, so what rights are you referring to?
What they are doing (strikebreaker) is "legal" - but when they are removed from market by the sympathetic population, it will be an obvious outcome.
The surprise is that normally logical employers do not work this way in these countries. However, we've seen that emotional responses are often how Musk's companies operate. I expect it to end poorly for him in this case.
Sweden is not a large market, but events like this contribute to Tesla's reputational decline. The Nordic countries were some of the first and fastest to embrace Tesla. But a brand can be ruined faster than it can be built.