Assume this is airport entrance not immigration. The check at the entrance has been so perfunctory for so long, I can only imagine it was for job preservation. They must have found another non-productive function for the security personnel to perform.