The entire family of the Duke of Zhen is wrongfully executed. The young county princess Wren dies with unfulfilled resentment, her soul travels to the Demon Realm and becomes Wren, the judge in charge of samsara. To clear her family's name and take revenge, she returns to the mortal world in the body of Minister Wynn's daughter Clara Wynn, and is forced to marry Lord Cedric Shaw, the cold, reserved Prince of Yan who was her childhood friend in a past life. Cedric Shaw suffers from a chronic cold poison, has laid low for ten years only to investigate the old case and clear the names of the deceased. He is wary of this mysterious, seemingly resurrected royal consort, but grows attracted to her as they spend time together, and is shocked to find she bears a striking resemblance to the late Wren. Wren secretly assists him in investigating the case and rescuing the descendants of loyal officials. The two develop feelings for each other amid suspicion and tentative testing. As the Peak of Lost Children massacre and strange incidents at the Eastern Palace come to light one after another, they discover that evil entities from the demon realm are stealing imperial fortune and manipulating the court. Wren's true identity is gradually exposed. The two join forces to investigate the truth behind the ten-year-old wrongful case, but face a desperate situation of Demon Realm prohibitions and heavenly backlash, and must make choices between love, justice, and life and death.