I always consider a CSA survives TL as being important to this. If the CSA did exist, their colonial ambitions to Central America and the Caribbean would be faced with the Spanish. I think the Spanish could have won such a war. As a result, Spains flailing empire could be somewhat reversed. I don't see them as gaining any territory during such a war, but could help Spain be seen as a returning power.