In this handout photo provided by the House of Commons, Britain's Prime Minister Boris Johnson speaks in Parliament in London, Wednesday, Sept. 25, 2019. British lawmakers returned to the House of Commons on Wednesday, venting their pent-up anger over Prime Minister Boris Johnson's failed attempt to suspend Parliament and warning that democracy itself is under threat from the government. (House of Commons via AP)

LONDON (AP) — An unrepentant Prime Minister Boris Johnson brushed off cries of "Resign!" and dared his foes to try to topple him Wednesday at a raucous session of Parliament, a day after Britain's highest court ruled he acted illegally in suspending the body ahead of the Brexit deadline.

Amid shouts, angry gestures and repeated cries of "Order!" in the House of Commons, Johnson emphatically defended his intention to withdraw Britain from the European Union on Oct. 31, with or without a separation agreement with the EU.

"I say it is time to get Brexit done," he declared, accusing his opponents of trying to frustrate the will of the people, who in 2016 voted 52% to 48% to leave the 28-nation bloc.

Johnson was greeted with applause from his own Conservative lawmakers and jeers from the opposition side as he arrived in the Commons, hours after cutting short a trip to the United Nations in New York.

He flew home early after Britain's Supreme Court unanimously ruled Tuesday that his attempt to suspend Parliament for five weeks had the effect of stymieing its scrutiny of the government over Brexit. The court declared the suspension void.

The leader of the main opposition Labour Party, Jeremy Corbyn, said the prime minister is not fit to govern and "should have done the honorable thing and resigned" after the ruling. He said Johnson "thinks he is above the law" and has shown "no shred of remorse or humility."

"Have you no shame, prime minister?" said Ian Blackford, the Scottish National Party's leader in Parliament. Labour lawmaker Jess Phillips urged Johnson "to act with some humility and contrition."

Members of Parliament accused him of showing disrespect for the rule of law and deceiving Queen Elizabeth II when he asked for her permission to prorogue, or suspend, Parliament. Over and over, they called on him to say he was sorry.

But Johnson ignored calls to step down or apologize, showing no sign of contrition during the more than three-hour question-and-answer session. He said he disagreed with the Supreme Court's 11-0 ruling, and he repeatedly refused to rule out the possibility of suspending Parliament again.

The prime minister said a new election is the only way to unblock Britain's "paralyzed Parliament."

"I think the people of this country have had enough of it. This Parliament must either stand aside and let this government get Brexit done or bring a vote of confidence and finally face the day of reckoning with the voters," he said.

A no-confidence vote could bring down his government just two months after he took office and lead to a new election.

Opposition lawmakers and some Conservative rebels have said they will back an election only if a no-deal Brexit is ruled out.

Economists have warned that leaving the EU without a deal could disrupt Britain's trade with the Continent, plunge the country into a recession and cause shortages of food and medicine.

But Britain has been unable to negotiate a separation agreement with the EU that is acceptable to Parliament. Johnson said Wednesday he still hopes to work out a deal but will pull the country out of the EU without an agreement if one isn't reached by the deadline.

Parliament has passed a law requiring Johnson to seek a Brexit extension if there is no deal, but he has said he won't do that under any circumstances. He branded the law the "Surrender Act" and the "Humiliation Bill."

Ultimately, the prime minister hopes to contest an election in which he would paint himself as the champion of the people against a recalcitrant establishment bent on disregarding the 2016 vote to leave the EU.

As Wednesday's session grew more noisy and bitter, several lawmakers urged Johnson to temper his language, saying Britain's political climate is becoming dangerously overheated. Pro-EU lawmakers have been branded "traitors" by some Brexit supporters, and police have investigated threats against several members of Parliament.

"The tone of the prime minister's speech was truly shocking," said Green Party legislator Caroline Lucas. "This populist rhetoric is not only unfitting for a prime minister, but it is genuinely, seriously dangerous."

Labour lawmaker Paula Sherriff implored the prime minister to stop using "pejorative language." She brought up the killing of Jo Cox, a legislator who was slain a week before the 2016 EU referendum by an attacker shouting, "Death to traitors!"

Sharriff said many lawmakers were "subject to death threats and abuse every single day."

"And let me tell the prime minister that they often quote his words — 'Surrender Act,' 'betrayal,' 'traitor' — and I for one am sick of it," she said. "We must moderate our language, and it has to come from the prime minister first."

The prime minister was unimpressed.

"I have to say, Mr. Speaker, I've never heard such humbug in all my life," he said.

___

Follow AP's full coverage of Brexit and British politics at: https://www.apnews.com/Brexit

Britain's Prime Minster Boris Johnson leaves 10 Downing Street for Parliament in London, Wednesday, Sept. 25, 2019. British Attorney General Geoffrey Cox accused Parliament on Wednesday of being a
Britain's Prime Minster Boris Johnson leaves 10 Downing Street for Parliament in London, Wednesday, Sept. 25, 2019. British Attorney General Geoffrey Cox accused Parliament on Wednesday of being a
In this handout photo provided by the House of Commons, Britain's Prime Minister Boris Johnson speaks in Parliament in London, Wednesday, Sept. 25, 2019. British lawmakers returned to the House of Commons on Wednesday, venting their pent-up anger over Prime Minister Boris Johnson's failed attempt to suspend Parliament and warning that democracy itself is under threat from the government. (House of Commons via AP)
In this handout photo provided by the House of Commons, Britain's General Attorney Geoffrey Cox speaks in Parliament in London, Wednesday, Sept. 25, 2019. British lawmakers returned to the House of Commons on Wednesday, venting their pent-up anger over Prime Minister Boris Johnson's failed attempt to suspend Parliament and warning that democracy itself is under threat from the government. (Jessica Taylor/House of Commons via AP)
In this handout photo provided by the House of Commons, opposition MP's look on as Britain's General Attorney Geoffrey Cox speaks in Parliament in London, Wednesday, Sept. 25, 2019. British lawmakers returned to the House of Commons on Wednesday, venting their pent-up anger over Prime Minister Boris Johnson's failed attempt to suspend Parliament and warning that democracy itself is under threat from the government. (Jessica Taylor/House of Commons via AP)
In this handout photo provided by the House of Commons, Speaker of the House of Commons John Bercow speaks in Parliament in London, Wednesday, Sept. 25, 2019. British lawmakers returned to the House of Commons on Wednesday, venting their pent-up anger over Prime Minister Boris Johnson's failed attempt to suspend Parliament and warning that democracy itself is under threat from the government. (Jessica Taylor/House of Commons via AP)
In this handout photo provided by the House of Commons, SNP MP Joanna Cherry speaks in Parliament in London, Wednesday, Sept. 25, 2019. British lawmakers returned to the House of Commons on Wednesday, venting their pent-up anger over Prime Minister Boris Johnson's failed attempt to suspend Parliament and warning that democracy itself is under threat from the government. (Jessica Taylor/House of Commons via AP)
Pro and anti-Brexit supporters hold signs and flags while demonstrating outside the Parliament in London, Wednesday, Sept. 25, 2019. Lawmakers in Britain are returning to the House of Commons on Wednesday, following a Supreme Court ruling that Prime Minister Boris Johnson had acted illegally by suspending Parliament. (AP Photo/Frank Augstein)
Britain's Prime Minster Boris Johnson arrives at 10 Downing Street, in London, Wednesday, Sept. 25, 2019. British lawmakers are returning to the House of Commons on Wednesday following the bombshell Supreme Court ruling that Prime Minister Boris Johnson had acted illegally by suspending Parliament — in effect stymieing their efforts to consider laws surrounding Brexit. (AP Photo/Alberto Pezzali)
British Prime Minister Boris Johnson, center, arrives at Downing Street in London, Wednesday, Sept. 25, 2019. Lawmakers in Britain are returning to the House of Commons on Wednesday, following a Supreme Court ruling that Prime Minister Boris Johnson had acted illegally by suspending Parliament. (AP Photo/Matt Dunham)
Dominic Cummings, top advisor to the British Prime Minister Boris Johnson, right, arrives at Downing Street, in London, Wednesday, Sept. 25, 2019. In a decision that badly undermines Boris Johnson's authority, Britain's highest court ruled unanimously Tuesday that the prime minister broke the law by suspending Parliament in a way that squelched legitimate scrutiny of his Brexit plan. (AP Photo/Alberto Pezzali)