Foreign ministry consular staff don't have any connection at all with immigration police. Total disconnect. They issue visas based on box-ticking criteria while immigration officers use their `discretion' (discrimination is a synonym in their case) whether they'll allow entry or not. I have a Thai passport and even I have been asked by immigration officers why I am coming to Thailand ... err.... (Yes, I could use the electronic gates and avoid the annoyance but they more than often don't work.) They are typically not on the A, the B or even the C team.