@Alex*****
, That's the reason he was denied. :/
Many times they don't even tell you they stamped that warning stamp when they give your passport back :(
One person actually thought the thai immigration people who stamp you in&out of the country put it in his passport. :O
They'd need to use another consulate OR apply for a new passport because the thai consulates don't have a database they just look for tourist visa & warning stamps.