I think "Hollow Pursuits" is painful to watch as an episode. It is a product of its time, but... is that enough to say it gets a pass? This is a show that is meant to be BETTER than a product of its time because it's set in a far future. They could - and should - have done better than to show everyone picking on Barclay for being on the spectrum. They always claim they're so evolved as a species and yet the first thing they do when someone who isn't like them comes aboard is to pick on him and call him Broccoli, just because he's clearly extremly socially awkward and having an incredibly difficult time. SOME evolved humanity right there, thanks but no thanks.
And Barclay should not even have been ABLE to create a program like that where he gets to use the likeness of fellow officers to play around with. Even in the 80s/90s when this episode was made it should have been clear that this is a no no. So I guess my answer is "the entire episode should have been tossed".
What I find interesting is that Hollow Pursuits was actually written by a woman, not by - what I'd expect - a dude who wanted to write a story about "a fellow awkward nerd dude who uses the holodeck to get laid". I would love to hear her thoughts on this entire process and what made her write things that way.