Sorry if I say that but It's not really respectful to be treated that way by this Thai immigration. If it had happened to me I would never come back in their country again. They should thank those who go to Thailand and give money to their people, rent, food, Thai wife's/womens and much more. As I always say, is nice to go there only for a few months