I remember reading somewhere that anti-terrorism laws give extensive powers to officers at airports and aircraft, the usual warrants and rights don't exist.
I've seen reports of people having a few too many drinks and using the toilets during taxiing then getting arrested and charged for terrorism offences.