Age verification is essentially identity verification, and in practice takes two forms: matching against government-issued ID, or facial age estimation.
Starmer is announcing enforced Digital ID for everyone here. Otherwise you can't even begin to do this stuff.