Talk about a pyramid scheme!

Danish photographer Andreas Hvid recently uploaded a YouTube video of himself climbing the Great Pyramid with a female friend so she could pose for a topless photograph. Now Egyptian authorities are investigating the film.

“In late November 2018, a friend and I climbed the Great Pyramid of Giza,” Hvid captioned. “Fearing to be spotted by the many guards, I did not film the several hours of sneaking around at the Giza Plateau, which lead up to the climb.”

The video features a woman taking her top off at the pyramid’s summit, which is 481 feet tall. Hvid also included a photo of himself embracing his naked female travel companion at the 4,500-year-old monument.

The photographer’s stunt has spread on social media and has drawn outrage by locals in a predominantly Muslim country.

The country’s minister of antiquities, Khaled Al-Anani, told local newspaper Al-Ahram that climbing the pyramids was “strictly forbidden” and the racy video was a “violation of public morality.”

Al-Anani also said that officials are determining whether the video is real and to prosecute authorities who have been negligent.

But Hvid says the stunt was done all in the name of his art. The photographer’s website featured photos of naked people on top of famous landmarks and buildings.

“For many years I had dreamed of climbing the great pyramid,” he told Danish newspaper Ekstra Bladet. “The idea of making a ‘nude shoot’ up there had also existed for some time.”