> how much of Tokyo and Japan being "safe" is because it's largely racially homogenous, politically/socially conservative, and anti-immigration compared to other first world countries.
Citation very much needed.
For instance Russia is socially and politically conservative, mostly "racially" (everyone is "white" because according to you that matters) homogeneous, anti-immigration (outside of limited amounts of labourers from the former Soviet republics), yet... it's not safe nor clean nor developed. Same can be applied to a host of different countries across the world.