Japan’s Prime Minister Shigeru Ishiba said during a parliamentary session last week that the Japanese government was making an “earnest effort” to accept “ill or injured” people from Gaza as part of a “medical evacuation.” He added that the government would also launch a special program for students from Gaza to study in Japan. Separately, Foreign Minister Takeshi Iwaya said that Palestinians who receive medical treatment in Japan under this program would return to Gaza afterwards.
Japan doesn’t recognize Palestine as a state. It does recognize the PLA so presumably they’d work something out with them.