I would push back slightly on the term "ban".
The US has parties pushing for a ban, which entails it becoming a punishable offense to offer the treatment to children.
As far as I'm aware, European countries have shifted standards of care in response to changing data, and De-Emphasized the treatment in favor of other avenues.
European policies are notably different from the outright bans for adolescents passed in 22 U.S. states, some of which threaten doctors with prison time or investigate parents for child abuse. The European countries will still allow gender treatments for certain adolescents and are requiring new clinical trials to study and better understand their effects.
“We haven’t banned the treatment,” said Dr. Mette Ewers Haahr, a psychiatrist who leads Denmark’s sole youth gender clinic, in Copenhagen. Effective treatments must consider human rights and patient safety, she said. “You have to weigh both.”
Although I tend to align with the American academy of pediatrics, as long as it's a reasoned, evidence based conversation developing standards of care that are then applied by the care team working with the patient and their parents it seems appropriate to me. That leaves the standards of "good medicine" in the realm of public experts, and the specifics of treatment to the experts directly working with the person in question and let's them make the appropriate choices and consultation.