Most western European cities that I have visited are safe and they have big immigration. I think low immigration might be a factor in some cases, but the big thing is having a working social security net that gives people opportunities when they're down. That improves safety in all cases.