A different union
Verse 1
On 1657 Louis XIV would marry Catherine de Braganza and Maria Theresa’s proposed marriage to the future King of Portugal would be remembered and Maria Theresa would marry Afonso, duke of Braganza on 1660 in exchange for ending his revolt in Portugal, the Spanish would transfer control of parts of the Philippines which is disputed between Portugal and Spain the Spanish would cede Northern Luzon, roughly the provinces of Cagayan, Ilocos, Pangasinan, Zambales and Pampanga collectively known in Malay and Javanese as Saludong (which is the other name of Luzon) following the earlier transfer of the Spanish held Sulawesi to the Portuguese in order to settle the Spanish disputes with the Portuguese in the treaty of Tordesillas as well as the Portuguese claims to the Philippines.
The birth of Charles, Prince of Asturias would mean that Maria Theresa would be in the second line of succession.
The 30 years Franco-Spanish war would end not in marriage treaty but a marriage that would instead in a ceasefire in 1662 which none of the parties would cede anything. On 1660, Charles II of England would marry Anne Marie Louise, Le Grand Madamoiselle, the marriage would continue the Franco-British alliance.