Emperor Zhu Jinghan of the Great Liang ascends the throne disguised as a man. With no heirs, she faces a palace coup led by her imperial uncle, and her hold on the throne is in grave danger. The retired emperor secretly summons Murong Xiao, son of the Duke of Anguo, to the palace, where he uses an aphrodisiac incense to serve as the emperor’s favored consort, making it impossible to tell who is who. From then on, the harem gains an unruly “shadow emperor” who stirs up trouble and turns the palace upside down. He comes up with all sorts of ways to wreak havoc in the harem and avoid disaster, while secretly helping the empress eliminate treacherous officials. In the end, he becomes the imperial husband of the Great Liang, sharing a harem with the emperor and ruling the empire at her side.