How the new Brexit deal attempts to fix problems in Northern Ireland 

Northern Ireland remained subject to EU law and the European Court of Justice, despite Brexit, in order to avoid a hard border with the Republic of Ireland.