A High Court judge has issued an interim order suspending a decision by Agriculture Minister Edwin Poots to direct a stop to Brexit agri-food checks at Northern Ireland ports.
Mr Justice Colton said he was making the temporary direction until a judicial review against the DUP minister's decision can be heard in full.
DUP minister Mr Poots acted unilaterally this week to order a halt to port checks that are required under the Northern Ireland Protocol.
Civil servants have yet to implement the instruction, pending legal clarity on their obligations, and checks are continuing.
Mr Poots' actions were challenged in two separate applications in the High Court in Belfast.
Mr Justice Colton granted leave for applications for judicial reviews against the minister's decision.
He said: "There shouldn't be any confusion hanging over those in the Civil Service, so I am persuaded this is a case where there should be interim relief.
"I therefore make the order to suspend the instruction given by the minister for agriculture until further order of this court or completion of these proceedings."
The judge pointed out that the checks had been ongoing for more than a year and that the order to halt them had been brought at short notice.
A barrister for the Department of Agriculture told the court that their position was that the direction by Mr Poots was "entirely lawful".
He said: "The minister has looked at the matter, he is not prepared to give an undertaking in the meantime.
"The department's position is that the decision taken, and instructions given to officials, were entirely lawful."
The full judicial review is expected to be heard next month.
Meanwhile, the leaders of four of the main Stormont parties have met following the political crisis sparked by the resignation of DUP First Minister Paul Givan.
The meeting included DUP leader Sir Jeffrey Donaldson, Sinn Fein Stormont leader Michelle O'Neill, Alliance Party leader Naomi Long and Colum Eastwood, leader of the SDLP.
They discussed how to expedite current outstanding legislation and agreed party whips would meet on the matter next week.
Ms O'Neill tweeted: "Party leaders met this morning to plan ways to get bills through in a quick step way.
"Sexual offences and trafficking, organ donation, welfare mitigation, integrated education, autism and climate legislation are just some of the bills to be got over the line before the end of this mandate."
The DUP would have difficulty reforming a Stormont executive after the upcoming Assembly election if issues with the Northern Ireland Protocol are not resolved, its party leader has warned.
Sir Jeffrey Donaldson expressed doubts about the prospect of a short-term return to a fully-functioning devolved administration in the wake of the resignation of his party's First Minister Mr Givan.
Sir Jeffrey's decision to pull Mr Givan out of office is part of the DUP's escalating protest strategy against the post-Brexit trading arrangements that have created economic barriers between Northern Ireland and the rest of the UK.
Mr Givan's resignation, which came into effect at midnight, automatically removed Sinn Fein deputy First Minister Michelle O'Neill from her position.
Other Stormont ministers can remain in post but the Executive can no longer meet and is unable to take significant policy decisions.
An Assembly election is already scheduled for May.
Mr Givan's departure raises the prospect of that poll being brought forward several weeks.
A fully functioning administration could only be formed following the election if the positions of first and deputy first ministers are filled by the largest unionist and largest nationalist parties.
Sir Jeffrey suggested the DUP would only return to an executive if its concerns around the post-Brexit trading arrangements are addressed.
"I've withdrawn the First Minister on the basis that the protocol issues have not been addressed despite clear commitments and promises given by the Prime Minister that they would be addressed, and clearly if the protocol issues are not resolved by the time of the election then, of course, it is difficult for us to form a government because of the instability that the protocol creates," he told BBC Radio Ulster.
"I have made my position clear - I think there is now an opportunity for the Government and the EU to step up.
"The EU said consistently that the purpose of the protocol was to protect the political institutions, political stability and the Good Friday Agreement.
"Well, we know that isn't happening because unionists do not consent to the protocol.
"There is no consensus for the protocol.
"There is now an opportunity for the UK Government and the EU to step up to the mark and to deliver an agreement that resolves these issues that can be done quickly."
Sir Jeffrey insisted there is still a point in having an Assembly poll.
"I think the time has come for the people of Northern Ireland to have their say," he added.
Announcing his resignation on Thursday, Mr Givan said the protocol had undermined a cornerstone of powersharing in the region, governance with the consent of both nationalists and unionists.