I'm guessing the immigration centres in Japan are at least in decent areas.

The one in Paris that I had to go to every year to renew my visa was in one of the grittier neighbourhoods. (Not explicitly dangerous, thankfully. but quite close to some areas best avoided.)

matigo.ca.