Sure, Germany doesn't particularly need criminal immigrants, but the criminality of immigrants is wildly blown out of proportion by racists, to put it bluntly.
This is corroborated by every statistic on crime. The country has been getting safer ever year for decades. It is also corroborated by looking a little bit into which violent crime specifically becomes highly publicized. There is a lot of attention on (violent) crimes of immigrants, while even gruesome murders of e.g. foreign exchange students by locals don't ever make it further than local news.
I'm German living in Germany, and the "problems" of immigration are a total pseudo-issue. It's 95% bullshit. I've never seen any such problem with my own eyes, yet it's one of the most publicized and discussed topics in this country. It's just strange, and I can't explain it any other way than by racism.