History of Portugal (1640–1777) put to the test in 1762 when Spain invaded aided by France, during the Seven Years' War. Britain invoked its alliance with Portugal and sent troops. Several months later, the conflict was settled with comparatively little fighting. In 1777, Spain and Portugal signed the Treaty of San Ildefonso, which mainly resolved a number of border disputes between their South American colonies. During the Age of Enlightenment, Portugal was considered one of Europe's unenlightened backwaters; it was a country of three million with 200,000 people in 538 monasteries in 1750. Melo seems to have been deeply embarrassed by Portugal's much lamented
Border checkpoint crosses an internal Schengen border is legally not a "border crossing point". Border checkpoint A border checkpoint is a place, generally between two countries, where travelers or goods are inspected. Authorization often is required to enter a country through its borders. Access-controlled borders often have a limited number of checkpoints where they can be crossed without legal sanctions. Arrangements or treaties may be formed to allow or mandate less restrained crossings (e.g. the Schengen Agreement). Land border checkpoints (land ports of entry) can be contrasted with the customs and immigration facilities at seaports, international airports, and other ports of entry.