That's the worst of it; they should at least refuse to do that. If the judge is going to say that their consent doesn't matter, he can nullify the need for their consent. If he lacks the power to do that, he should lack the power to force them to give consent.
Perhaps as long as the parents retain primary custody, they have to sign, and he's saying "Sign, or I'll make the kid a ward of the state".