Well no-one said they have to implement it themselves. I'm sure Google and Apple are willing to send a hardware-signed attestation that the device owner is 18+ if required bu the state.