The barrister and medieval historian on the fragility of democracy, the folly of Brexit and why politicians need to learn from the past ...