During WWII, Allied governments and virtually all of their voters took it as an article of faith that when those governments passed new wartime laws banning any form of discrimination, that ipso facto all such discrimination was yesterday.
They didn't bother to check to see if frontline decision makers actually obeyed the new law.