The deal could see British officials take part in crisis management operations for the first time since Brexit.