Yep. That's the current narrative. Well done.
Jim Crow laws were passed and enforced by the government. There are countless examples of businesses having no choice but to discriminate because government told them to.
The government itself determined that segregation was A-OK as long as things were "separate but equal."