>>512641204 (OP)There's this thing in the Talmud about how it isnt a sin om behalf of the child if they have set before a certain age. Girls it's 3, and boys it's 9. So if they get gay molested or something, they don't need to be executed. Which is a good law. But then, they figure, that if it isnt a crime for the child then it isnt a crime for the adult perpetrator. So a bit of pilpul and a reasonable law becomes monstrous.
Its in sanhedrin 54 b
With regard to what principle do Rav and Shmuel disagree? The Gemara answers: Rav holds that any halakha that applies to one who engages in intercourse actively applies to one who engages in intercourse passively, and any halakha that does not apply to one who engages in intercourse actively does not apply to one who engages in intercourse passively. Therefore, just as one who engages in intercourse actively is not liable if he is less than nine years old, as the intercourse of such a child does not have the halakhic status of intercourse, so too, if a child who is less than nine years old engages in homosexual intercourse passively, the one who engages in intercourse with him is not liable.
Its disputed in the text, but it can safely be considered "kosher". As long as the boy is younger than nine.