The 16-year-old said she planned to spend several days in the Portuguese capital before heading to Madrid, where delegates from nearly 200 countries are discussing how to tackle global warming.
The vessel, believed to have been carrying 78 migrants, had departed from the beach of Charrana in Morocco near Melilla.
The submarine, about 20 metres long, came from South America, another source close to the investigation said without specifying which country the vessel departed from.
All five of Spain's squad played a part over the course of the week but Nadal's colossal effort in front of the home fans at the Caja Magica proved the difference.
Spain will face Canada in Sunday's final after the North Americans won their semi-final against Russia, which was also decided in the doubles rubber.
Spain will make its second straight semifinal appearance after Nadal and Marcel Granollers defeated Máximo González and Leonardo Mayer 6-4, 4-6, 6-3 in the decisive doubles match.
Serge Gnabry hit a hat-trick and Bayern Munich team-mate Leon Goretzka scored twice Tuesday in a 6-1 routing of Northern Ireland.
Nadal, who will finish the year as world number one, came through a second-set tie-break to defeat Khachanov 6-3, 7-6 (9/7) and level the Group B match in Madrid.
The 37-year-old Vissel Kobe striker had a 19-year career that took him to Barcelona, Atletico Madrid and Valencia while accumulating 98 caps for his country.
Neither the left nor the right bloc is anywhere near an absolute majority in the 350-seat assembly following Sunday's polls, prolonging a political deadlock in the eurozone's fourth-largest economy.
After Sunday's national vote, no party has a clear mandate to govern and a far-right party has become a major parliamentary player in Spain for the first time in decades.
APEC said it supported Chile's decision but gave no indication there would be a replacement summit this year, saying only that Malaysia would host the 2020 event.
Spain became the sixth team to qualify for next summer's tournament thanks to Rodrigo, who came off the bench to score a dramatic injury-time leveller in a 1-1 draw in Stockholm.
Ramos, with his 168th cap, also became Spain's record appearance maker, surpassing goalkeeper Iker Casillas.
Sebastian Larsson netted two spot-kicks as Sweden cruised to a 4-0 rout of Malta to reclaim second place behind Spain.