If his motivations were purely based on freedom and the democratization of information, and not on his own physical yearnings, he wouldn't have compromised his mission.
Unfortunately, his sexual desires superseded his common sense and that of the greater good.
On another note, it's easy to remain on one's moral high horse while surrounded by comfort and taking relatively light responsibility on one self. I suspect the perfect moral hero that gives up all of them selves to protect some perfect ideals is something you're more likely to encounter in fiction like Star Trek than reality.
I was pointing out how nonsensical that commenter's ad hominem attack was. The idea that Julian's sexuality negates the value of any work he's done is straight out of a century you and I have never lived in. Making him out to be some kind of holy warrior who was brought down by his "yearnings" is weird.
Anyway! His comment was dumb, your loaded question is dumb, and this entire thread is dumb.