Yes, that’s right in that sense, the important one is the ‘judge’.
And the law of the land needs to be respected.
I’m not sure why you would be viewing yourself as ‘a lamb to the slaughter’.
If you are a responsible parent, there is really no reason to think that way.
Read up on the Children’s Act.
not reason to fear anything from a judge if you respect the law. Which includes the Equality and Diversity Act 2010 , respecting of course people with disabilities and peoples with regard to gender, sexuality, diversity and religious orientation.
Good luck with that one.