Quite often, cross border travel to Spain is permitted, but sometimes it is not. Please see rental conditions for cross border driving on the particular offer. Spain (or any other country) needs to be mentioned as permitted cross border travel country. Sometimes, there is an additional fee for cross border travel!