Don't governments require them to chech people's IDs to make sure they aren't kids?
It depends on the implementation. The EU's European Digital Identity Wallet will allow users to prove that they are over 18 without sharing any other personal information.
Do they also require permanently storing the document instead of just the check result?