Meant for Brexit, but applicable in many other settings.