As is often the case with imperialistic countries, indigenous people are excluded from the main stream of the countries until the time minorities are to exterminate. In this case, Japan's government passed the bill when the number of fluent speakers of Ainu language became 2.
I wonder why they are always too late to preserve minorities. We should learn from history.