Okay. They're considering making "her" undergo psychiatric treatment and medical treatment. It's not made clear (in the articles I found) what exactly that entails. Since (s)he still looks rather masculine, I would guess (s)he actually hasn't undergone much, if any, medical treatment in regards to their transition. It's possible the courts actually want to force them to further the process for their "mental health."
If you have any articles that are specific about what type of medical treatment, please pink them.
While the transgender aspect of the story makes it more titillating, I don't really think it's relevant. I think that the real issue is that for decades now we've been teaching children to hate our country, and get all surprised picachu face when our soldiers sympathize more with the enemy than our own country.