I might slightly amend my earlier post as it was cavalier about the interests of the child.
Of course, it does depend upon the child's best interests over any other ones. Losing access to its mother may be more harmful than the risk of catching covid for a nipper. Generally-speaking, without a compelling reason, you don't want judges choosing between parents.
I am not sure that I would use vaccination as a weapon of determination as this judge did. There are other variables to think about.
But it's certainly indicative of her state-of-mind, which may be made up of conspiracy theories (ie misjudgements), and I suspect that is why the judge applied it.