Jo Swinson, leader of the Liberal Democrats, said the judges’ decision proved Boris Johnson was “not fit to be Prime Minister”.