A "couple of days" out doesn't assure you won't be denied-entry returning by air, if you have significant time (more than 60 days) in Thailand "recently" (undefined).
The way you did it is what I used to do (though flew-out to Penang, then train-back). At land-borders, if denied-entry, at least you'd just get turned-around and go back to the other side - not locked-up and force-flown back where you just left - then possibly denied-entry there, and force-flown to your passport-country.
I would NEVER use an airport to enter as a Tourist more than once per-year (if staying ~60+ days per-entry) - maybe twice months apart - because they deny entry randomly to COERCE the use of their "Safe Entry Service." That "service" works well - because Immigration line their pockets with it.
Yes, it is breaking the law, probably a section of the Civil and Commercial Act or whatever it is called.
In a broad sense, it might also be interpreted as an act of lèse majesté.
Recommended Posts