Yeah that is key. And given the story it would have been pretty dishonest to have a happy ending. Especially as I imagine the creators probably ran into their own version of Odo's character 40 years later, telling them that there's nothing wrong with a black captain, just that the public still weren't quite ready…