The gatekeeping, the age identification issues are both "real problems", that compound, from the same root.
Anonymity allows one to behave in ways they would not "in public", with your neighbors, or co workers (for the most part). Be that building malware, or kids doing things they should not, and the people and business that take advantage of that.
I don't think the UK law is a good one, but when major companies continuously fail at their social responsibility I understand why people want the government to step in. I don't think the friction apple creates is a great user experience but it is better than the old approach that ended up with systems riddled with malware and spyware because normal users don't think like the folks who built technology.
Could the law have been written better: sure. "More control" over their Childs devices would have been the way. Is there a solution to the friction with apple... maybe but I'm not sure it would be that much of an improvement (its purpose IS to slow you down).