The protagonist transmigrates into the body of a good-for-nothing hostage prince awaiting execution. Using the “Empire Simulator” to foresee deadly crises, he relies on his foreknowledge in court to turn the tables on the crown prince who framed him, shock the emperor, and rise from condemned prisoner to regional governor.