By the way, it would be a judge that would declare the teen incompetent, not a Psychiatrist.
The judge would base their decision on the recommendations of one or more psychiatrist.
The judge uses the medical information of a psychiatrist who would be working against his professional organization’s ethics guidelines. if he found incompetency because of a young woman wanting to change her sex.