And each country get to decide things like the legal age, this isn’t decided by the EU, and each country also get to decide if they accept driver younger than the limit age in their country, so no a license is just valid anywhere without restrictions.
I don’t feel that needs to be regulated by the EU, it’s fine that the general rule is that there has to be 5-year checks, and the rest is up to the individual member states.