It was a condition of the Peace of Amiens (1801), under which the British also recognized the French Republic as a nation. I wrote about this more in this older post about royal titles and styles.