Boris Johnson could bypass a law stopping him from delivering a no-deal Brexit by exploiting a major loophole in the legislation, a legal expert has claimed.

Jolyon Maugham, a barrister and anti-Brexit campaigner, said there was "a flaw" in the so-called Benn Act, passed by parliament earlier this month, that could force MPs opposed to no-deal to take "counter-measures".

The loophole means that the prime minister would be able to lawfully take Britain out of the EU without a deal even if MPs had voted for an agreement, Mr Maugham said.

Under the terms of the Benn Act, Mr Johnson must ask the EU for a further delay to Brexit if MPs have not approved an exit deal by 19 October. If a deal is approved, the duty to request an extension would be overridden.

However, there is no legal obligation on the government to actually implement the terms of the deal, even if MPs have approved it. Mr Maugham suggested that Mr Johnson could therefore simply refuse to bring forward the Withdrawal Bill, which is needed to implement the deal in law.

In that situation, MPs would have approved a deal but it would not have been formally ratified in law, meaning the UK would leave the EU on 31 October without a deal in place.

The suggestion prompted speculation that Mr Johnson could tell Eurosceptic Tory MPs in the European Research Group (ERG) to vote for a deal while privately promising that he would not implement it. The prime minister hosted a dozen Tory MPs at Chequers on Friday.

Mr Maugham said the 2018 EU Withdrawal Act lays out "further obligations" that the government must meet before a deal can be fully ratified, including a new law implementing the agreement.

He wrote: "Summing up, if the Commons approves the withdrawal agreement but these further obligations are not satisfied before 31 October 2019, then two consequences follow. First, the Benn Act will not apply to require the PM to request an extension from the EU. And, second, we will leave with No Deal.

"So, imagine the PM says privately to the ERG ‘support my withdrawal agreement and I will deliver no-deal.’ In those circumstances, with the help of some Labour MPs, the Commons might approve even Theresa May’s withdrawal agreement

"The PM would thus have escaped the obligation in the Benn Act to request an extension and could deliver no-deal."

Protesters take to streets after Boris Johnson suspends parliament Show all 11 1 /11 Protesters take to streets after Boris Johnson suspends parliament Protesters take to streets after Boris Johnson suspends parliament Anti Brexit protesters march on Whitehall EPA Protesters take to streets after Boris Johnson suspends parliament Many of the protesters carried placards AP Protesters take to streets after Boris Johnson suspends parliament A demonstrator wears a Boris Johnson mask during a London rally AFP/Getty Images Protesters take to streets after Boris Johnson suspends parliament An anti-Brexit demonstrator wields an EU flag during a London rally. AFP/Getty Images Protesters take to streets after Boris Johnson suspends parliament The protesters also marched to Trafalgar Square, where they blocked traffic AP Protesters take to streets after Boris Johnson suspends parliament John McDonnell addressed crowds in Whitehall. PA Protesters take to streets after Boris Johnson suspends parliament A small group of Brexit supporters attempted to stage a counter protest in central London. AP Protesters take to streets after Boris Johnson suspends parliament Three people were arrested in London, including a woman who sat on the road near Trafalgar Square. AP Protesters take to streets after Boris Johnson suspends parliament In Oxford, locals and students gathered outside Balliol College, Boris Johnson's alma mater, to protest. PA Protesters take to streets after Boris Johnson suspends parliament Thousands of people gather in central Glasgow to protest against the prime minister. AFP/Getty Images Protesters take to streets after Boris Johnson suspends parliament Jeremy Corbyn spoke to protesters in central Glasgow. Getty

It follows reports that Dominic Cummings, Mr Johnson's top adviser, has told government aides that ministers could suspend parliament again in October if the Supreme Court, which will hear an appeal this week, rules that the original suspension was unlawful. No10 sources insisted the comment was "quite clearly a joke".

Mr Maugham speculated that Mr Johnson could suspended parliament again once MPs had voted in favour of a Brexit deal, thereby bypassing the Benn Act but denying his opponents the opportunity to pass further legislation blocking no-deal.

The barrister said he had discussed the loophole with MPs and urged them to take "counter-measures". This should include refusing to vote for any Brexit deal before 19 October, he said, adding: "Those who want the Withdrawal Agreement should refuse on the basis that, by voting for it, they may well be delivering No Deal."