The EU was a necessary prerequisite of the peace process in northern Ireland, as is being brought into sharp focus now With Brexit.