Write a fictional story in which a government has done all it can to try to eliminate racism (etc.) from employment, public and private services, and now has moved on to try to eliminate racism in courtship, on the political assumption that this is the true root of the problem. Perhaps draconian measures to punish those who commit what are now crimes:
A sting operation in which someone suspected of being racist in choosing partners gets presented in a surreptitiously controlled manner with potential partners of different races.
Discovering and punishing those who inculcate racist romantic preferences into children.
This social goal is considered more important than the right to privacy.