Body and Soul - Voyager
I had no memory of this episode. When it first started I thought it was going to be Flesh & Blood. It gets some humor points for the Doctor's behavior controlling Seven, and Jeri Ryan must have had a blast imitating Picardo.
I dunno. The idea of 'Photonics' constituting another race comes off as a little silly to me, and every single debate on whether artificial AI has rights comes off as a rehash of Measure of a Man. If Picardo didn't do such a great job as the Doctor, it would have been a terrible character. The episode does work as a good character humor episode.