Continuing in Daniel 6:
Without giving it much thought, the king agreed to ban prayers to anybody but him. It sounded good.
“Daniel is praying to his god,” the conspirators said. “It’s the lions’ den for him. You can’t disobey your own law.” The king was stuck.
Daniel 6:14 (VOICE)
He thought a great deal of Daniel, so he tried to figure out a way to help him. All day long until evening he looked for some loophole in the law.
No loopholes. The king was stuck with a consequence he never intended.