There are two (possibly a third case) that have gone to court over this in both cases the father was removed by the courts from the child's life.
The cases followed the same path.
Parents spilt, child "decided" that they were a different gender, normally at the mother's home and were fine at the fathers.
Mother pushed for social transitioning.
father went to court etc.
Two are Canadian
The one I am not sure about one is from Texas USA.