Post-Brexit trading arrangements with Northern Ireland have been found to be within the law - after UK judges rejected a legal challenge.
The British Supreme Court had been considering whether the rules, were in breach of different legislation.
The UK and EU are negotiating a way to make adjustments to the Protocol.
The protocol was agreed by Boris Johnson's British Government before the country left the European Union and is designed to prevent a hard border on the island of Ireland.
The case to the UK Supreme Court was taken on the grounds that it was incompatible with an Act more than 200 years old which set up the 'Union of Britain and Ireland', as well as being incompatible with the 1998 Good Friday Agreement.
The judges of the UK Supreme Court disagreed. While the case had already been rejected by the High Court and the Court of Appeal in Belfast.