All in all, by 1660, when the Swedish occupation of Poland was over, most of the European continent was at peace (though the third stage of the Portuguese Restoration War would soon begin), and the Bourbons had ended the dominance of the Habsburgs. In the Pyrenees, the treaty resulted in the establishment of border customs and restriction of the free cross-border flow of people and goods. The treaty also settled indefinitely the century and half long litigation over the Kingdom of Navarre, while the dispute over the Aldudes remained in place still throughout the 18th century.