LONDON — Lawmakers in Britain are returning to the House of Commons following a Supreme Court ruling that Prime Minister Boris Johnson had acted illegally by suspending Parliament.

The prime minister is hurrying back to London after cutting short a trip to the U.N. General Assembly amid demands for his resignation from furious opposition parties.

Johnson remains on a collision course with Parliament over his determination to extract Britain from the European Union on Oct. 31 even if no divorce deal is reached. Parliament has passed a law requiring him to seek an extension if there is no deal, but Johnson says he won’t do that under any circumstances.

Johnson is likely to address Parliament on Wednesday afternoon.

Cabinet minister Michael Gove says the government “respected” the court decision.