But if you are really uneasy or worried about this requirement, you can communicate with the school and ask them why they do it and whether there are other risks. If the school can't provide a reasonable explanation or guarantee safety, you can consider seeking legal advice or other ways to solve this problem.
In short, in any case, it is always the most important to protect your rights and interests.