It's not cognitive dissonance, or bad faith. Of course.
If you let Harvard do "merit-based hiring", they'll move a little in the direction of actually complying with employment law, but not much. If you institute a regime such as the one that existed for race and sex for decades (i.e., if you don't have "enough" black people, you need to show how your recruitment pipeline means that's necessarily the case, like not enough get the required type of degree), you'll get much better compliance.