Three times Napoleon tried to take the Kingdom Portugal. The first time when the french troops arrived at Lisbon they were greeted with peace as ordered by the king before leaving to Rio de Janeiro and make it the new capital of the empire.
The next year because of the oldest diplomatic alliance in the world still in force, the Duke of Wellington commanded a British force and portuguese insurgents to victory over Junot. Then came Soult and Massena who got their behinds kicked until they reached the border.
Now you can watch the movie, with John Malkovich as Wellington, recounting the last time we’ve “seen” a french on this lands.