Yep. Think of "Balance of Terror."
UHURA: Cryptography is working on it, sir.
STILES: Give it to Spock.
KIRK: I didn't quite get that, Mister Stiles.
STILES: Nothing, sir.
KIRK: Repeat it.
STILES: I was suggesting that Mister Spock could probably translate it for you, sir.
KIRK: I assume you're complimenting Mister Spock on his ability to decode.
STILES: I'm not sure, sir.
KIRK: Well, here's one thing you can be sure of, Mister. Leave any bigotry in your quarters. There's no room for it on the Bridge. Do I make myself clear?
STILES: You do, sir.
That scene wouldn't happen on TNG, because its crew is too evolved and perfect. You might argue that a scene like that should be unnecessary, because we should be free of bigotry. But in the real world right now bigotry still exists.