By Chris Morris

Arguments between the EU and the UK about the post-Brexit status of Northern Ireland have intensified. It is a special case, involving the UK’s only land border with the EU and a history of violent political division.

The Northern Ireland protocol was created to avoid the return of a “hard” trade border on the island of Ireland. Instead, all goods moving across the Irish Sea from Great Britain (GB) into Northern Ireland (NI) have to follow EU rules, even if they never leave the UK.

Both sides negotiated and signed the protocol, which is now part of international law, but they are struggling to make it work in practice.

What’s the main problem?

The present system cannot cope with the number of checks required on goods entering Northern Irish ports from GB.

The UK government has unilaterally extended a series of grace periods.

But even so, the authorities in Northern Ireland are struggling to deal with demand.

Northern Ireland’s chief vet Robert Huey said in April his team was conducting more checks on products of animal origin moving across the Irish Sea than France was at all its ports.

It was also conducting 325 documentary checks every day, he said, while Rotterdam, one of the busiest ports in the world, had only 125.

This is partly because containers arriving in Rotterdam are often full of one commodity, whereas each supermarket lorry crossing from GB to Northern Ireland contains multiple loads, all of which need to be checked.

If all the current grace periods expired, Mr Huey added, his team would need to conduct nearly as many checks on food as were being conducted in the whole of the EU. And he has only 12 vets.

Is there a Swiss-style solution?

The EU says many of these problems would disappear if the UK agreed, temporarily, to follow the EU’s veterinary arrangements.

And it has suggested an agreement a bit like the one it has with Switzerland.

This would remove all border checks and veterinary declarations for British food entering Northern Ireland or the EU.

In return, the UK would have to abide by the EU’s food-hygiene rules, even when they change in the future.

But the UK refuses to accept this, saying moving away from EU rules was one of the main reasons for Brexit.

media captionConfused by Brexit jargon? Reality Check unpacks the basics.

There is also concern following EU rules could make it harder to agree a trade deal with the United States, even though there is no sign of such an agreement on the horizon.

What about a New Zealand-style solution?

The UK would prefer an arrangement in which the EU would recognise UK food-production standards as being equivalent to its own, rather like the one the EU has with New Zealand.

This would reduce trade friction but not by nearly as much as a Swiss-style deal.

There would also need to be agreements allowing products intended for the Northern Ireland market only, which are not going to be sent across the land border into the EU, to avoid checks altogether.

But any potential solution also relies on a degree of mutual trust, which is in very short supply.

Hopes a meeting of leaders could smooth some of the rough edges from the debate have been dashed.

And if anything, public disagreements at the G7 summit have made matters worse.

What’s the legal argument?

The UK says the EU is sticking to “legal purity” rather than seeking practical solutions, and it needs to show more flexibility in the way the protocol is implemented on the ground.

The government points to Article Six of the protocol, which commits both sides to use their “best endeavours” to facilitate trade between NI and GB.

This phrase carries significant legal weight. It means both parties should take all the measures any reasonable person would take, to achieve the desired result.

And the UK says the EU should, therefore, compromise far more in order to remove restrictions on trade.

But this commitment to use “best endeavours” is not an absolute obligation or a guarantee.

And the EU will continue to stress it does not mean the UK can ignore the law.

The protocol promises to allow “unfettered access” for trade from Northern Ireland into Great Britain – but not the other way round.

And it doesn’t say border bureaucracy can be removed altogether.

What might happen next?

The EU has already started legal action against the UK for failing to consult it about extending the grace periods – but things could soon become even worse.

A grace period that allows chilled meats such as sausages to be sent from GB to NI expires at the end of this month.

And after that, in theory, such sales would be banned.

The UK government says it won’t allow this.

But if it acts on its own again, the EU will step up its legal response.

And this could include moves to impose tariffs (taxes on imports) in other sectors – a full-scale trade dispute, which could easily escalate.

The two sides don’t have long to find a compromise.