Yes, sorry i wasn't clear, but consumer protection laws spawns across all EU (i think it's more than that, even Switzerland is in that agreement), so if Tesla do not respect Swedish warranties, Tesla would be at risk in the whole EU.
And Eu is not the US. Some young people might like and follow Musk and his venture a lot, but most people just do not care about him, and when it comes to consumer laws, EU do not joke around. If you have to trust EU to agree on one thing, it's consumer protection. More than market integrity, for sure (hence what is allowed to happen in Ireland: if you do not import consumer grade product or food, the irish sea border basically isn't enforced). So unless Tesla is far more popular accross EU than the Uk, Tesla will have to bend.