Making a choice not to act on an impulse is not the same thing as that avoided act being inherently harmful. Going back to broccoli as an example, if someone doesn't like broccoli they can still make the choice to eat it if they force themselves but it's not actually harmful to anyone either way, and that's the same with homosexuality. The same cannot be said of paedophilia because there is always at least one victim when those urges are acted upon, and therefore the act itself is harmful

