You've asked this several times and it will attract downvotes every time as it's against the guidelines. People have been worried about HN "becoming like Reddit" since soon after it launched over 10 years ago.
People generally downvote because they don't find the comment convincing or enlightening.
Downvotes are less likely when commenters explain their position with thoughtfulness and effort to help the community understand and learn things.
Schools were perfectly able to restrict use of smartphones before that law.
In fact, here is a description of schools' internal rules by the French government itself:
http://www.education.gouv.fr/cid100605/le-reglement-interieu...
I don't know why a few 'contributors' downvote comments in this thread. Is this Reddit?