Westminster has always been run more by convention than by rulebook. Prime ministers are seldom forced out: they are persuaded that their position is unsustainable and they walk. Margaret Thatcher quit before facing a final vote. Tony Blair chose resignation in preference to an uprising led by Gordon Brown. Theresa May was technically safe from any leadership challenge when she resigned.