Britain 'acted outside the law' in NI