@Willem ***
, Totally right. And you need to be aware of what type of entry you are eligible for.
That is a good example. Argentinian passports are NOT eligible for visa-exempt entries. Technically he is staying in Thailand illegally if his Argentinian passport was stamped for 30 days visa-exempt. Better (need to) get the stamp corrected immediately.