The Australian man who sparked a hijacking scare, claims he thought he was banging on the plane's toilet door – not the cockpit.
The man is accused of hammering on the cockpit door, forcing the pilot to send a mayday message that he feared the plane was being hijacked.
Arrested in his flip flops, Matt Christopher Lockley, 28, told police he was simply trying to get into the toilet.
"He thought the cockpit was the toilet - he thought he was banging on the door to the toilet," said Bali police spokesman Hery Wiyanto.
Wiyanto said the plumber, from Brisbane in Queensland, had slept for most of the flight and was moved to the back of the plane after talking to a passenger.
He was reportedly restrained by the cabin crew and then arrested when the plane touched down at the Indonesian island's Denpasar airport, where troops entered the aircraft.
Virgin Australia said the 137 passengers and seven crew on board the Boeing 737-800 aircraft were never in any danger during the flight.
"We can confirm there was a disruptive passenger on board and the pilot notified authorities in advance of landing, as per standard operating procedures," said Virgin spokeswoman Jacqui Abbott.
Armed Indonesian Air Force soldiers secure the Virgin Australia 737-800 plane on the tarmac at Denpasar airport in the resort island of Bali.
Lockley has repeatedly told investigators he was not drunk, but suffering from depression due to family problems.
After taking blood samples from Lockley, police said the Australian had taken several painkillers, including four Panadol and two Voltaren pills. Police initially had said Lockley was drunk.
Virgin officials have told AFP news agency the VA41 Bali plane incident was a "misunderstanding."