A man who had been drinking vodka and beer to steady his nerves while on his first flight ever attempted to open the plane's main door, thinking it was the bathroom.

Tomasz Mucha, 26, was on a Ryanair flight traveling from Krakow, Poland to Dublin, Ireland when he lifted the handle of door, the Irish Independent reported. Dublin District Court reported that the only thing that stopped him from opening the door at the rear of the plane was the air pressure.

Mucha admitted being drunk on the flight and using threatening, abusive or insulting behavior when charged with offenses under the Air Navigation and Transport Act. Muncha told staff on the plane that he consumed alcohol because it was the first time he had ever been on a plane and he was nervous.