The leader of Britain’s main opposition Labour Party on Tuesday ruled out an early general election until the threat of a no-deal Brexit is eliminated, following a devastating Supreme Court ruling against the government.

Speaking at his party’s annual conference in Brighton in southern England, Jeremy Corbyn said the ruling that Boris Johnson had suspended parliament unlawfully showed that the prime minister “will never shut down our democracy”.

“This crisis can only be settled with a general election.

“That election needs to take place as soon as this government’s threat of a disastrous no-deal is taken off the table,” the 70-year-old told his supporters.

Corbyn said leaving without a deal would force up food prices, create medicine shortages and threaten a hard-won peace deal in Northern Ireland.

He also said it could potentially see Britain “locked in” with a one-sided free trade deal with the United States.

MPs this month approved a law that would force the prime minister to seek to delay Brexit beyond October 31 if he does not manage to strike a new divorce deal with Brussels.

Ultimately, it is up to EU leaders to decide whether to grant an extension or not. The issue will be a focus for discussions at an EU summit on October 17-18.

Corbyn said that if Labour won the election it would negotiate a new deal with Brussels within three months and would hold a second referendum “with the choice of a credible leave deal alongside remain”.

Corbyn in his speech also pledged to counter “financial speculators, tax dodgers and big polluters” and said he would be a “different kind of prime minister”.

He promised to create a publicly-owned generic drugs maker to supply cheaper medicines to the state-run National Health Services and said he would nationalise railways, water, the postal service and the electricity grid. (AFP)