Scotland will face the Principality of Monaco in the final of the U16 European Championship for Women Division C after contrasting semi-finals on Friday.
Scotland enjoyed an 82-28 blowout of Cyprus, but the Principality had a far tougher time seeing off hosts Andorra 37-36.
They trailed 30-25 at the start of the fourth quarter but fought their way back to set up a tense finish.
Charlotte Andronaco tied the game at 36-36 with 33 seconds to go and Annabella Marin Cruz won it from the free-throw line with six seconds left.
That was the last of Cruz's team-high 11 points.
Scotland's semi-final was far less stressful as they took a 23-11 lead in the first quarter and never looked back.
Hillary Wood and Gemma McCrea scored 14 points each to lead four players scoring in double figures.
Cyprus and Andorra will play for third place.
Malta secured fifth place in the tournament with a 50-22 victory over Gibraltar as Maria Bonett scored 15 points.