You would need some class action lawsuit I’d think? Need a good number of laid off people to join it and you need solid statistics that would convince a jury more than the corporate lawyers would with whatever HR covered their assess on paper have.
No I'm saying you lay off your senior people. Not because they're old and you don't want to pay retirement but to save on payroll since they make more money than juniors.