Does that mean you can break the law once you are older and experienced enough?
Well, is that actually the case here?
I read that the OP wants to limit the ebike to 'class 1' or such while the child is younger. 'Older and experienced' could coincide with 'adult'.
Your question stands on it's own, just noting that the OP is looking for a short-term fix.
Irrelevant to the rest of this post, but my solution is that no one operates a motor-powered vehicle in public spaces without a driver's license - and we focus on refining and enforcing licenses rather than wasting resources coming up with fanciful schemes for a myriad of special cases. We don't need to - it's all the same problem.
A driver's license is about maturity, so already answers the question. If no other children are operating motor-powered vehicles, then the peer-group aspect goes away, and we need not worry about the maturity question - except about enforcing it for people over the age to receive a driver's license. That's what we lack - an honest approach to dealing with driver licensing.
Children benefit form using their bodies, and not doing this while growing can't be completely corrected later - 'acoustic' bikes are quite enough - they won't excel more at school if they don't pedal. If anything, I would expect the opposite.
If there aren't any dicks of any age on ebikes, then we have an easy answer to the problem of irrational laws about ebikes. That is the real problem and the real solution. As well, if we don't tolerate dicks in cars, then we can avoid the problems of dicks in cars. It's a win-win.
Pointing out the real problem and being consistent about pointing it out will help penetrate the bullshit hand-waving that is used to avoid solving the problem.