Answer
**Answer:** France invaded Portugal in 1807, leading to the flight of the Portuguese royal family to Brazil. This invasion was a direct consequence of Portugal's refusal to join Napoleon's Continental System, a blockade against British trade. The invasion forced the Portuguese royal family to flee to Brazil, where they remained until 1821.