The EU can learn from Brexit how to manage divergence and differentiate integration – for the sake of its other neighbours.