The answer is never. The Thai authorities are not touting foreigners living here as holiday makers, which is what the majority of the world would describe as a tourist, they have simply not come up with a word yet that can broadly describe a non Thai.
They can’t use the term “farang” as Asians (Chinese, Koreans etc) are not regarded as farangs, it’s also a racist term and would be frowned upon.
Although often used they also can’t use the word “aliens” as this would imply we are from another planet.
We all need to accept in the eyes of the Thai authorities there