I have done similar travel several times, the problem I encountered was the airline, they would not let me board the plane unless I showed them a ticket leaving Thailand within the visa free period - I always had, so no problem, but the point is; it is the departing airline that checks