Again, assuming this is what the court orders said. IF it said "You don't want an abortion, but we'll make you have one anyway", then it's horrific and the judge should... be removed from office and go to prison for a long, long time. If the court said "Sure, your parent/guardian doesn't want you to have an abortion, but we think you should have one if you feel otherwise", that's a different can of.
As for the original issue of "We'll take your child if you don't abort it", I've always said they were.... overly keen on taking people's children.