Army has its own constitution, in extraordinary situation, when National interest is on stake. Army has the power & legal authority to do what ever they wanted to do, this means even disable/add/change in current constitution, history tell us political powers and civilian bureaucracy accept this authority time by time !..
What about ISI, do they have their own constitution too?