Andorra 's comparative advantage eroded when the borders of neighboring France and Spain opened , providing broader availability of goods and lower tariffs .