Japan, as your tag indicates, is a nation built on racial and cultural identity.
Its why Japan will be around long after the USA has gone the way of the Roman or Byzantine Empires.
They won’t if they don’t start having more kids. Their birthdate is below replacement level right now.