John Maitland, 1st Earl of Lauderdale — Scottish judge