The border amongst Spain and France follows the line of the best peaks, With all the notable exception with the Aran valley, which belongs to Spain but is located over the northern slope. One more exception is the great simple of La Cerdanya, which can be on the southern slope https://all-andorra.com/