Unfortunately Emc2, they can and do

If you google 'contact child under 12 months family court', transcripts of judgements will come up whereby Judges have ordered it.

Eta: not saying it happens often mind you!
Yes I doubt that happens very often.

gee if it's not Doctor Google, it's Judge Google lol