In view of the many paradoxes that have studded the history of the Habsburg monarchy, it is fitting at the outset to observe that as the nineteenth century opened Austrian foreign policy proceeded with complete obliviousness to the nationality problem and for this very reason was the principal contributor to the nationality problem of the future. It was a time of unprecedented territorial change, indeed of the founding of the Austrian empire itself, and the net result of the changes was an increment to the ethnic diversity of the Habsburg lands. The acquisition of western Galicia in the third partition of Poland added several million Poles. By the Treaty of Campo Formio in 1797 Walloon and Flemish subjects in the Netherlands had been exchanged for the Italian, Croatian, and Serbian population of Venice, Istria, and Dalmatia, and the prospect was held out for adding more Germans in Upper Bavaria and Salzburg. The Treaty of Lunéville in 1801 did not change the territorial holdings of the Austrian Habsburgs; it did, however, affect them indirectly by providing for the transfer of the members of collateral branches of the family who ruled in Modena and Tuscany to unspecified territories in Germany. Two years later, in 1803, the Imperial Recess of the Holy Roman Empire named these territories: Salzburg, for Ferdinand; and the Breisgau and Ortenau, on the Upper Rhine, for the Duke of Modena. Both awards represented Austrian losses, Breisgau and Ortenau having been Austrian lands to begin with, Salzburg having been previously promised.