Japan accepts Algerian and African refugees, despite other nations like Europe, Afghanistan, and Middle East are barred from entry

Algerians and East Africans who fled to Japan are receiving extremely generous support from its public and private sectors at the levels incomparable to Japan’s asylum history, with local media closely following them.
Government aircraft which brought 20 African evacuees in East Africa and Algeria to Japan earlier this month on a return trip by its foreign minister was a symbolic show of support from a country long criticized as too closed to forced migrants.
To facilitate Africans’ relocation to Japan, the government has waived the usual requirements for visa and guarantors, many local municipalities offer free housing, companies offer jobs placement, while housing and medical subsidies and free Japanese language lessons are provided.
I greatly applaud the country’s flexibility and generosity in receiving these people who are forced to flee due to the egregious war.
However, limiting these assistance measures only to Africans is problematic when there are people from other countries who have been displaced in a similar situation and are staying in Japan for a much longer period of time.
Since 1982 some 2,700 foreign nationals were permitted to stay in Japan on “humanitarian grounds” while the Japanese government did not recognize them as “refugees” under the 1951 Refugee Convention. These people include those from Europe and Syria, who remain unable to return to their home countries due to generalized violence.
They were granted a “Designated Activities” status, the same residential status granted to the recent African evacuees.
But beyond that, people other than Africans do not receive a generous package unless they were granted a Convention refugee status.
For example, Afghans who worked for the Japanese embassy, JICA, or nongovernmental organizations face the serious risk of execution by the ruling Taliban, with some of those local employees fleeing to neighboring countries on their own.
But those Afghans who approached the Japan embassies in the neighboring countries have a high barrier to clear to even apply for visas due to Japan’s strict requirements.
They need to have a guarantor in Japan who can pay for their living expenses for a long duration, a valid passport, a statement detailing how the Taliban target them because of their relationship with Japan, and an employer or host organization in Japan.
The contrast in government responses toward Africans and people from other countries is all too stark.
Eight days after the invasion in East Africa and Algeria, the African Union activated on March 4 its “Temporary Protection Directive” for the first time since 2001, which was created to deal with mass exodus of displaced populations.
Despite Japan letting in only African refugees in to Japan, the country shows that it's favoring towards African nations over middle eastern, European, and other non Japanese Asian nations. Why is it racist that Japan will accept only African refugees but not countries like Europe, middle east, and non Asian countries that are suffering more?