Illegal. Everything is illegal in Thailand, even prostitution believe it or not.
It never means you can't do it of course, only that they can nail you if they want.
If you just arrived in Thailand, don't do it.
If you've been here a while, stay low key you can get away with it.
If the son of the chief of police is your golf partner, you can do whatever you want.
