Sorry about the situation. It will be sorted out, but not without the anxiety. Too many post on this forum for overstays....blows me away. Put the dumbass farang on indentured servitude status for life after this is behind you
Again......a day or a week or a month. Don't over stay. Not picking but too consistently see this same post. You'll survive a stupid choice but prepare for the stupid prize and the Thai authority's will take opportunity's awarding them.