If he did this in the US of A, he would be in Guantanamo Bay by now.
Not true. A pilot can use his ID to go through security whenever he wants. Most of our crew rooms are inside of security, along with some admin offices. You are required to wear your uniform to get liquids and gels through security.
The immigration checkpoint is what got him.