Japan does not recognize Western Sahara as a state.

Japan Reiterates Commitment to Position on Western Sahara, SADR
Japan’s Parliamentary Vice-Minister for Foreign Affairs, Shinichi Nakatani, with Morocco’s Minister Delegate for Foreign Affairs, Mohcine Jazouli. Photo credit: Morocco's Ministry of Foreign Affairs/Twitter