Yes, but the problem is that in Iran if you are gay they will often make up charges. For instance the two boys executed in the story I linked to were charged with raping a child. However everyone connected with the case says that this did not happen, that the two were charged and hanged simply for their orientation.
In the other story I linked to, the girl was executed for being repeatedly raped and molested by her uncle. Not only that, but she was denied any legal representation at the trial, and the trial and execution violated several laws in the way it was conducted.
I don't have a problem with a 17 year old, or even a 15-16 year old being executed, IF they did the crime.
In Iran, you can never be sure what the real story was.