An Egyptian pilot has been banned for life after he allowed a square-jawed film star to sit in the cockpit and ham it up at the controls of a private jet en route to Saudi Arabia.

Actor and singer Mohamed Ramadan bragged about the Oct. 13 stunt to his 10 million online followers — sharing a video of himself sitting in the pilot’s seat, slapping hands with the co-pilot and even appearing to take over the control wheel.

“In a first of its kind, I will go drive the plane,” Ramadan, 31, said in the clip before a man off-camera can be heard saying, “I swear to God, Mohamed Ramadan is the one driving the plane now,” the BBC reported Friday.

Egypt’s civil aviation authority revoked the pilot’s license and banned him for life, while the co-pilot has reportedly been banned for a year over the incident, according to the report.

“After confirming the violations against the Egyptian civil aviation law, we have taken deterrent measures towards the reckless and irresponsible actions [of the pilot],” Egypt’s civil aviation ministry said in a statement.

Passengers are not allowed to enter the cockpit while a plane is in operation, according to Egyptian aviation rules.

Ramadan has appeared in more than a dozen Egyptian films and was reportedly on his way to the Saudi capital of Riyadh to perform at a music festival.