Presumably the law will be written to account for advertised role != assigned role, but it can't account for gaming the system by never hiring exactly the advertised position.
Sounds like a recipe for a lot of time and money wasted in court.
Ideally they reapply if it’s a lesser role and the pay is lower than the previously posted minimum.