Custody issues

Anyone have an experience where they had a child who was 14 in CA and they wanted to opt out of living there one of their parents and it was denied?

Have a child who is really struggling at her other parents, she is adamant that when she’s 14 she will make the choice to not go. Both home are safe and she is well cared for in each. Would like feedback, her other parent has told her at 14 the MIGHT listen to her, I’ve heard from attorneys they’ll do whatever she says.