A simple POD is that the Mahmud decides to accede to the Sheyhulislam when he refuses to sanction the execution.
It would diminish support, I imagine - Gregory had excommunicated the rebels three times, while his survival would reduce anger felt by Christians throughout the OE.
Well, it'd...