The Right Honourable Robert Blair (1741–1811), Lord President of the Court of Session (1808–1811)