A defiant Boris Johnson hit back at the U.K.'s top judges on Tuesday and vowed to take the country out of the European Union next month despite suffering an unprecedented legal defeat over his Brexit strategy.

In a sweeping rebuke to the prime minister, Britain's Supreme Court ruled that Johnson had broken the law when he decided to suspend Parliament for five weeks in the run-up to the Oct. 31 deadline for leaving the EU. He had given Queen Elizabeth II "unlawful" advice to pause the legislature and wrecked the ability of Britain's elected politicians to fulfill their crucial democratic role overseeing his government's actions, the court found.

Johnson said he would "obviously" respect the verdict but retaliated immediately. "I have to say that I strongly disagree with what the justices have found," he said in a pooled interview in New York. "I don't think that it's right, but we will go ahead, and of course Parliament will come back."