So I remembered this post by Indicus:
So let's say this happens. How would the European powers react? How would the Janissaries react?
I'd actually argue that the Ottomans were in direr straits in 1807 than in 1914. In fact, in 1807, I believe the Ottoman line was even nearing extinction and there was an arrangement in which the Giray dynasty would become the rulers of the Sublime Porte. If Mahmud II died before becoming Sultan, Mustafa IV would then die childless, and so the Ottoman Empire would die, replaced by the Giray Empire.
Yet, the Ottomans didn't just survive. They were resurrected by Mahmud II, and they even thrived at times in the nineteenth century.
So let's say this happens. How would the European powers react? How would the Janissaries react?