The laws have to be there to sue.
This is why unions have to exist. The actual “laws” aren’t/weren’t there to protect the workers interest so the unions have to step in to allow the workers to bargain/negotiate to balance the power.
Thank unions for 40 hour work weeks, minimum wages (they’d pay you nothing if they could,) worker safety, child labor laws, etc.