Ennobled by Tony Blair , she was Leader of the Lords for a year , and then replaced Lord Mandelson as Trade Commissioner but within a year of that was the surprise choice as High Representative , a role created by the Lisbon treaty .