It is actually an offence not to produce docs when stopped by the police, but a statutory defence to produce them within 7 days.
I was stopped by the police few months ago they then asked for my license which I told them I would never carry one, told them to check their own database with my information. Yes, they got it there. They confirm the information then let me go.
To be frank any police that still ask for paper/card driving license is either trying to be “funny” or simply just trying to cause troubles (I don’t think they are all bad btw).
The information is freely available on their database system so why ask again? I bet they can even have a photo of you for confirmation via their database.
Even renewing road tax is so easy nowadays you don’t even have to show any documents as they are already in the system as I was told recently by the post office person.
🙄