That he was acting in a fashion that was beginning to cause alarm among the other passengers and there was a reasonable fear, in the minds of the flight attendants, that he could become agitated and physical.
An argument along those lines would suffice. I don't think any court would take exception to the deprivation of liberty on the part of the cabin crew given recent history.