The restricting law is mostly concerned with the age gating, not the how.
You can expect another law or directive to explain how it has to be done. In the EU, GDPR does apply so you can be sure that poorly storing ID copies for this purpose will not fly.
But, I think it's clearly what ID is for and a legitimate use case for electronic ID. ID is the tool the state uses to give you a way to prove you are who you pretend to be.
I think there's something a bit funny in worrying about giving a copy of your IDs to companies who already know everything about you from your full social graph to your political leanings and interests.
You can expect another law or directive to explain how it has to be done. In the EU, GDPR does apply so you can be sure that poorly storing ID copies for this purpose will not fly.
But, I think it's clearly what ID is for and a legitimate use case for electronic ID. ID is the tool the state uses to give you a way to prove you are who you pretend to be.
I think there's something a bit funny in worrying about giving a copy of your IDs to companies who already know everything about you from your full social graph to your political leanings and interests.