James Carmichael — Scottish judge and government official