Ireland warns UK against threats to Brexit protocol