Yes but the next step is forbidding open source OSes because they can be modified to lie on this API check.
The next step after forbidding the serving of alcohol to minors is forbidding the serving of alcohol to everyone.
The next step after forbidding the serving of alcohol to minors is forbidding the serving of alcohol to everyone.