Working in Japan remotely for a few days for non Japanese company

Hello, I'm traveling to Tokyo for a little over a week towards the end of the month. 12 days to be exact. I had two jobs but was laid off from one recently. The one I'm still working is remote. I just answer text messages and schedule appointments. I don't take any phone calls. I was originally planning to take time off from the remote job but now I'm thinking of trying to do some work on my trip. Now I know the law says that you cannot work on a tourist visa, but is that applicable to my situation? If I'm not working for a Japanese company? Or does it still apply regardless of where my employer is?

by luminary_planetarium