There is an episode later where Data defends the rights of a less-human-looking artificial life (the one with exocomps), though no courtroom scenes.
I think most star trek episodes can be torn apart pretty easily - I actually enjoy pointing out errors while I watch. But it’s good drama and themes with fun characters in an optimistic future, which is still a rarity decades later.
It really bothered me that they didn’t even mention the doctor, what with seven of nine being there and the ai plotline. But after watching more of Picard, I’m glad they didn’t and especially glad they mostly steered clear of ds9.