That history loomed in the background as President Emmanuel Macron appointed the 73-year-old Barnier on Thursday to take over from Gabriel Attal, France's first openly gay prime minister.