|Gibraltar's Timothy Fava has been averaging 19.7 points and 11.7 rebounds over the first three games|
Gibraltar will top the table if they collect a fourth straight victory on Sunday against Andorra, on the final day of action in the tournament.
In case they succeed in upsetting the hosts on the final day and at the same time the Scottish are victorious against San Marino, there will be a three-way tie at the top where the point differentials in the games involving these three teams will come into play.
On Saturday, the Gibraltarians started very strong on defence to take an early 15-7 lead over San Marino and extended it to 11 points, 28-17, at the half-time interval.
The third quarter was San Marino's most productive in the encounter as they scored 14 points, but the hosts replied with 17 of their own to take into the fourth frame a comfortable 14-point advantage, which they maintained until the final buzzer.
The key to Gibraltar's success was their excellent defence on tournament leading scorer Pierluigi Berardi.
The San Marino guard was the only player on his team to score in double digits and finished with 18 points, but did so on 7-for-24 shooting from the floor; Giovanni Ugolini had a game-high 17 rebounds to go with his eight points in a losing effort.
Andorra meanwhile relied on a rock-solid defensive display in the first half to bend the resistance of Wales.
The Iberian nation's team outscored their opponents 21-9 in the first quarter and claimed their biggest lead in the game, 31-15, just 30 seconds before the end of the second frame.
Wales came back from the locker rooms looking like a different team and scored 18 points in the third quarter alone, but all they could manage was to reduce the gap to 11 points at the end.