I have residence in Japan, so flight to Japan is return or final leg for me. I usually cannot check-in online for that flight and must see a check-in agent. There, I explain my residency and show my card, and all is well. My Japanese wife with Japan passport never has that problem and can check-in online. So, the airline will likely be who you need to deal with.