This may sound fairly obvious but if you are litigating over children, the judge does not need to see them. They have a pretty good idea of what children look like, some of them are even parents. They will not be swayed by who is holding the subject matter.
I am just back from the family law motions calendar and found as many babes in arms as there were lawyers and litigants.
One boy was a bit older, and was waiting out in the hall with his aunt presumably. He had a toy gun, which he aimed and fired at everyone.
We have security, how did he get that thing into the courthouse?