Even when my bf and I went to this Thai event that was outdoors, high security and police, he had to go to foreigner line and show his copy of his passport page that he carries in his wallet and they were able to look in the database and reminded him when his visa extension was going to expire.