Once Mr.X had an overstay of 1175 days (about that) and decided to clear things up. So he went to land border, paid 2K THB to an agent (some farang connected to local IO), entered neighboring country, went to his embassy and claimed he lost passport. Got new one, entered LOS and that cost him something about 15K including 2K bribe, hotel, Embassy charge and daily booze.
But he was young and adventurous fella.