It was only a short while ago that the SNP declared a climate emergency, culminating in excess grandstanding by the SNP leadership at COP26, including one John Swinney .