Treaty of Fontainebleau
In 1807 Portugal refused Napoleon's demand to accede to the Continental System of embargo against the United Kingdom. Napoleon, having signed the Treaty of Fontainebleau on 27 October 1807, with Spain, defined the occupation of Portugal, proposing that the country would be divided into three different states: