John Spens — Scottish lawyer and judge, Lord Advocate