I dont know how they apply the law, but i am sure that if you come back from malaysia by land, they dont let you come back in without visa. Even when you have visa, they sometimes ask you to show
*****
b to come in..i went there 2 months ago and i bet my head that around Sadao, Satun, you're not allowed in thailand without visa..