The correct model on immigration control is the USA from 1925 to 1965.
As far as Japan goes in the long term they will be fine because Japan will still be Japan. Eventually their age demographics will shift downwards and the cycle of prosperity wll begin again for them.
That model might work if you can crank up another baby boom. Otherwise it's a recipe for (hopefully) managed decline.