We have a property in Spain and visit 3 or 4 times a year, hiring a car each time.
We have never been asked for the paper part of the license but next time we go I will be taking this code with me just in case - I would rather hVe it and not need it that be trying to get it using my phone at the airport.