scotland has a distinct legal system within the united kingdom. historically, in the kingdom of scotland, the lord lyon king of arms, as the sovereign's minister in matters armorial, is at once herald and judge. the scottish equivalent of an english baron is a lord of parliament.