Anonymous participant 905 he never said they have an obligation, he asked if anyone knows which will refund you if your visa was rejected. You don't know, so no need for the lecture.
a balance needs to be struck between encouraging tourism, which is a huge industry in Thailand, and "cracking down" on illegal workers which is a comparatively tiny problem in Thailand compared to other countries.