A Scottish court Friday rejected the first legal bid to block British Prime Minister Boris Johnson from suspending Parliament until two weeks before the Oct. 31 Brexit deadline.

Judge Raymond Doherty refused to grant lawmakers an emergency injunction but did not comment on the merits of their appeal. The move was seen as a blow to the lawmakers seeking to stop a no-deal Brexit.

QUEEN APPROVES BORIS JOHNSON'S REQUEST TO SUSPEND PARLIAMENT

The judge ruled there is time to hold more hearings next week.

Two other legal cases are in progress in London and Northern Ireland.

Johnson’s request to suspend parliament was approved by Queen Elizabeth Wednesday.

CLICK HERE TO GET THE FOX NEWS APP

Johnson said this week there would be "ample" time to debate once the suspension ends on Oct. 14.

Lawmakers reacted with fury, including John Bercow, speaker of the lower House of Commons, who was not told in advance of Johnson’s plan.

“Shutting down Parliament would be an offense against the democratic process and the rights of parliamentarians as the people’s elected representatives,” Bercow said. “Surely at this early stage in his premiership, the prime minister should be seeking to establish rather than undermine his democratic credentials and indeed his commitment to Parliamentary democracy.”

The Associated Press contributed to this report.