In order to invade Portugal, Napoleon required a route for his ground troops through Spain, necessitating a treaty with that country.
为了入侵葡萄牙，拿破仑需要一条能够让他的军队通过西班牙的路线,他决定与西班牙签订条约。