Earlier quoted context omitted.
It's largely the result of an ideological deadlock, where legitimate logistical concerns about immigration and integration were lumped up with islamophobia and racism. Immigration was also seen as desirable in order to address the demographic crisis and low birth rates. This in turn had the ironic side-effect of cementing a sort of structural racism where all these immigrants showed up and were given at best estate h…
"Turns out very few people want to lead a shitty life doing menial jobs as a second class citizen. Isn't that weird?" This describes the huge population of gastarbeiter in West Germany in the 1960s and 1970s, but I am not aware of any violent movements arising from them being unhappy with their lot. (The violence one does remember from those years was from a different demographic entirely.) It describes the modern UA…
The Swedish legal system is also not very well suited to dealing with the problem, and the system for amending laws has a lot of inertia.
A big problem is laws against information sharing between government agencies dating back to the shocking revelations about the STASI during the fall of the DDR. In calmer times this is a fine principle, especially given how much data is stored on Swedish citizens, but when you want to deal with organized crime, it's absolutely disastrous.