You can be deported for having been paid too little, if your company didn't contribute enough pension or if you didn't take enough holidays.
https://sifted.eu/articles/tech-deportation-in-sweden/