Judiciary will have an important role in the settlement of this political deadlock, failure of NS and IK even after the assistance of establishment (option 1 and 2a) would create such a political chaos which will result an administrative vacuum which eventually will 'suck-in' different state organs, before the reinstate of Chaudhary Iftikhar Judiciary was considered as the subordinate organization of Establishment, but the recent history has effected the course of certain future events. Now Judiciary will play a role of "equivalent member of the establishment" if it chose to support the functionality of the administration, remember it will not the revival of "Doctrine of Necessity" but "Doctrine of State Functionality"
In every other scenario Judiciary is a must participant and its 'alignment' with the establishment will decide the political future of Pakistan, here I would ask you to recall the statement of Ch. Iftikhar which he has issued few days back, if we consider it as the indication of POV of Judiciary than it mean Judiciary and Establishment is not on a same page or at least not properly align which will have its own implications on the political future of Pakistan.