LONDON — British Prime Minister Boris Johnson on Thursday denied lying to Queen Elizabeth over the reasons for suspending the British parliament after a court ruled his decision was unlawful and opponents called for lawmakers to be recalled to discuss Brexit.

Since Johnson won the top job in July, Britain’s Brexit crisis has spun more furiously, leaving investors and allies bewildered by an array of decisions that have pushed the once stable political system to its limits.

Parliament was suspended this week until Oct. 14, a move Johnson’s opponents said was designed to thwart their attempts to scrutinize his plans for leaving the European Union and to allow him to push through Brexit on Oct. 31, with or without an exit deal to smooth the way.

Scotland’s highest court of appeal ruled on Wednesday that the suspension was not lawful and was intended to stymie lawmakers, prompting opponents to question whether Johnson had lied to Elizabeth, who must formally order the prorogation.

“Absolutely not,” Johnson said when asked by a TV reporter if he had misled the queen, who is the world’s longest reigning monarch and is widely respected for more than 67 years of dedicated service during which she has stayed above the fray of politics.

Johnson said the current session of parliament was longer than any since the English Civil war in the 17th century, adding that lawmakers would have plenty of time to again discuss Brexit after an EU summit on Oct. 17-18.

He says parliament was suspended to allow the government to present its legislative program.

With less than 50 days until the United Kingdom is due to leave, the government and parliament are locked in conflict over the future of Brexit, with possible outcomes ranging from leaving without a deal to another referendum.

A “no-deal” Brexit could snarl cross-Channel trade routes, disrupting supplies of medicines and fresh food while protests spread across Britain, according to a worst-case scenario reluctantly released by the government on Wednesday.

The “Operation Yellowhammer” assumptions, prepared six weeks ago just days after Johnson became prime minister, form the basis of government no-deal planning.

Britain is unlikely to run out of essentials like toilet paper in the event of a no-deal Brexit but some fresh fruit and vegetables could be in short supply and prices might rise, supermarket bosses warned on Thursday.

Before parliament was suspended, opposition lawmakers and rebels from Johnson’s Conservative Party passed legislation that would make Johnson ask for a three-month extension to Britain’s EU membership if parliament has not either approved a deal by Oct. 19 or consented to leaving without one by then.

Johnson has said he would rather be “dead in a ditch” than delay Britain’s exit. The campaigners behind the successful Scottish court case said they had begun new legal proceedings that would compel him to do so.

Johnson says his aim is to get a deal and has repeatedly said he will seek to get an agreement at the EU summit to remove the Irish border backstop, an insurance agreement to prevent the return of border controls between Northern Ireland and the Irish Republic after Brexit.