It is strictly forbidden to drive outside Spain, even Peninsular Spain, with your rented car.