@Christopher **********
On a "retirement" visa you are not allowed to work in Thailand, also not remote work.
We all know a lot of people do remote work on all kind of visa and even without visa, and actually there is no enforcement, so unless somebody having a problem with you tells authorities, you can just work online.
There is no such thing a police checking each house for somebody working online.
But legally it is just not allowed, period.
For DTV workcation it is a more complex situatiion, Labour Act says remote work not allowed, but official visa requirement with Royal consent says you need a remote job.
So you can argue that the requirement is the exception of the law, but as far as I know there is no case law yet.