A wealthy young woman was allowed to enter China's famed Forbidden City in a luxury SUV, sparking online condemnation.

Lu Xiaobao fueled the outrage when she visited the empty home of the country’s emperors in Beijing on Monday and then posted photos of herself, a friend and the vehicle to social media, the BBC reported.

Officials at the Forbidden City, where vehicles are banned, said it was "deeply distressed and sincerely apologizes to the public,” the BBC reported.

"On Monday the Palace Museum is closed, so I hurried over, hid from the crowds, and went to play in the Forbidden City," Lu told her Weibo followers.

BEIJING'S FORBIDDEN CITY WILL OPEN A NEW PORTION TO TOURISTS FOR THE FIRST TIME

Weibo users were stunned to see not only pictures of Lu and her friend at an empty site, but also her hulking black Mercedes-Benz, according to the BBC.

She later deleted the photos but not before they went viral.

CHINA'S FORBIDDEN CITY BUILT WITH GIANT 'SLIDING STONES'

Vehicles have been banned since 2013 to protect the cultural dignity of the vast site and its hundreds of historic buildings, according to the official Xinhua News Agency. The palace was home to the Qing and Ming emperors, who ruled China for nearly five centuries.

The photos played into public perceptions that wealthy people with connections enjoy special privileges in China.

CLICK HERE FOR THE FOX NEWS APP

The shots showed Lu, her friend and the Mercedes in front of the towering Gate of Supreme Harmony on a sunny winter day.

The Associated Press contributed to this report.