faustian comedy
or like the german poem of the wizards apprentice
she will wall herself in as long as the "heroine" doesn't "appear" which wont happen according to the book because the emperor is bat shit crazy about the mc thus she will hold to the contract and there is nothing he can do about it