Any act or thing done or purporting to have been done; before the 16th day of November, 1975, under the principal Act in respect of any person against whom an order of detention was made under that Act on or after the 25th day of June, 1975 or in respect of any such order of detention shall, for all purposes, be deemed to be as valid and effective as if the amendments made to the principal Act by sections 2 and 3, and clause (a) of section 4, of this Act had been in force at all material times." During the pendency of these petitions under article 226 of the Constitution of India before the High Courts for issue of writs of habeas corpus, it was contended on behalf of the Union of India and the States that in view of the Presidential order dated June 27, 1975 under article 359 suspending the right of all persons to move any court for the enforcement of the rights conferred by articles 14 21 and 22 of the Constitution, petitions for issue of writs of habeas corpus were not maintainable.