One thing you have to learn, if you want a pleasant stay here, is that every Thai officer has their own kingdom. If you disrespect their kingdom, for example by going above their head, you will subsequently pay, they never forget.
Once, I went to Nong Kai immigration, before Khon Kaen had one. I worked for a local university and went there with the head of the uni, a well known guy, as he was going to Nong Kai for a funeral. I walked into immigration with these senior guys in their white uniforms with an attitude of they have to give me a visa. The officer demanded they leave and made me come back the next month by myself. This happened for 6 months until I decide to accept I had violated his kingdom and waiied him. Immediately, he accepted I had learned my lesson and stamped my visa for a year.
Remember Thais don't like foreigners very much, especially ones who don't know the cultural ways, or ones who refuse to integrate into society. Your only hope here is to go and apologize, bring flowers, and basically beg for forgiveness.