Uttarakhand High Court on Tuesday ordered a floor test in state assembly on Thursday, giving ousted chief minister Harish Rawat a chance to prove his legislative majority.
The state at present has been put under President's Rule since Sunday.
Hearing a plea filed by Rawat, court also said that all nine Congress rebels who had been disqualified by speaker will be allowed to take part in the vote.
It added that esult of the voting should be presented to the court on Friday.
After the order, Congress spokesperson Abhishek Manu Singhvi said ruling followed two days of extensive arguments.
"The high court accepts the point that despite President's Rule there is enough scope for judicial review to allow a floor test to take place," he told the media, "This was asked by us."
"Mere horse trading allegations will not justify President's Rule and stop floor test," he added.
Shocked Bharatiya Janata Party (BJP) said it was no win for the Congress but described as "unprecedented" the court oreder to allow floor test during President's Rule.
"To order something like this during President's Rule is unprecedented," BJP spokesperson Nalin Kohli said.
The Uttarakhan political crisis began when nine Congress legislators, including former chief minister Vijay Bahuguna, whom Rawat replaced, revolted against the chief minister and turned to the BJP.
On March 18,situation worsened when Assembly passed the budget Appropriation Bill by voice vote even as more than half the members in the house sought a division, which would have led to recorded voting. The rebel Congress lawmakers supported the
BJP's demand for the division. Speaker Govind Kunjwal declined the request.
In middle of BJP cries that Rawat did not enjoy majority in the house, the speaker asked the government to prove its majority on Monday.
Congress rebel MLAs were disqualified on Saturday and the BJP-led central government imposed President's Rule a day later.