Daniel 6:12adah
So they went to the king and talked to him about the law he had made. They said, "Didn't you sign a law that says no one may pray to any god or human except you, O king? Doesn't it say that anyone who disobeys during the next thirty days will be thrown into the lions' den?" The king answered, "Yes, that is the law, and the laws of the Medes and Persians cannot be canceled."
The unchangeable law traps Daniel, leading to the lions' den.
Esther 8:8shuv
Now, in the king's name, write another order to the Jewish people as it seems best to you. Then seal the order with the king's signet ring, because no letter written in the king's name and sealed with his signet ring can be canceled."
A sealed royal order cannot be canceled, so a new order is written.