Yes, good point. Who is going to find these cases, gather evidence, and sue? I can imagine an employee suing their employer after finding out someone was hired above the range, but is that even expressly illegal?
Short answer: the lawyers will decide whether this is enforced.