It's not against the law in the criminal sense. However institutions such as schools as residential units will have a policy against taking photos unless all the parents of all the children consent to their child being photographed. It's supposed to be a child protection measure but for them to tell you it's illegal or against the law is not quite right in my opinion.
I see that you have given my colleague a negative rating and asked for a new expert.
I agree with what my colleague said. Maybe their own internal policy which prevents the taking of photographs except by some kind of official photographer appointed by them or by their own internal staff but it’s not something which is illegal in any criminal sense.
However I can tell you why they have this policy and that is because if their appointed photographer or staff are taking the pictures, then they are in control of the content whereas if you are taking them, you could be taking images anything for any purpose.
It may cause a problem internally with the management of the unit but it isn’t a criminal offence.
I find it extremely frustrating that innocent people take innocent photographs of children playing and everyone thinks that they are some kind of pervert taking images of children. However, apart from the fact that the world seems to be paranoid, what the centre is doing is trying (and going overboard in my opinion) to ensure the safety and well-being of those attending who may be vulnerable. That is how they would justify it.
If you just ignore the directive and carried on, they could of course refuse to carry on having the child but no criminal action could be brought.
Can I clarify anything for you?
Please rate the service positive. It’s an important part of the process by which experts get paid. It doesn’t cost you anything but helps me greatly.