The purpose of the visit is still tourism, even when people are also working remotely. Otherwise they could have stayed home and worked remotely.
We/You can see remote work as not invalidating your claim, but that's just how we feel, not how it will be judged. To your larger point, the rules being mildly fuzzy aren't helping foreigners in general, it's usually more leeway for the authorities to pick and choose.
I mean, we can invent a lot of way to present it, it all comes down to how the immigration office interprets it (as far as I know, the only real test is suing them when they ask for the money)