San Marino won for just the third time in their history to achieve promotion to the Nations League third tier