I would argue that legally (and morally), they are *wrong*. One reason government created corporate law was to allow for low-cost, mass production. They did not create corporate law to allow a bunch of nosy gun-grabbers to violate indiviudal Rights under color of law.
It's their property and they can restrict anything they want
Can they restrict workers over 60, or black Jewish women? I didn't think so....
If corporate control freaks want to dictate the lives of their workers, they should surrender their corporate charter (and all the tax and other benefits to go with it) and operate as a sole or joint propriortorship. Let them succeed or fail without government support, just like the workers they want to control must do.
Well, unless there's a law that says they can't, they can. Just like you can refuse entry into your house of anyone you choose.
This is a basic dispute over what rules you can impose on your own private property.