An Australian passenger mistook the cockpit door for the toilet, triggering Friday's hijack scare on a Virgin Australia flight from Brisbane to Bali in Indonesia.

Matt Lockley told Bali police after his arrest that he banged on what he thought was the toilet door for a last-minute bathroom break before the plane landed. But it was actually the cockpit door and the pilot responded by alerting Indonesian traffic control of a possible hijacking on board.

Crew members then seized Lockley and handcuffed him.