It’s not that complicated
1) You cannot re-gauge all of 🇪🇸 and 🇵🇹 railways to 1435mm in a cost effective & timely manner, and you should not try
2) So if 🇵🇹 is to build a HSL, you *either* have multiple breaks of gauge nationally, and have to buy Talgo trains, *or* you leave the break of gauge somewhere in 🇪🇸 where fewer of your passengers go (and Renfe doesn’t give a shit about 🇵🇹 anyway)
So 1668mm HSL makes sense