Most of the huge corporations have attorneys on staff. The only person it'll get expensive for is the employees trying to sue.
A bunch of companies have been doing the exact same thing. The one I left did the same thing even for employees that had been remote employees years before Covid. Required everyone within 100 miles of any of the offices to have to come in 3 days a week. And those that were remote and lived nowhere near an office were pressured to move closer to one.
My close friend had two babies during the time away from office and had been told she wouldn't have to come back into the office. She was forced back too. She ended up quitting because child care would cost too much money as did plenty of others.
The key is getting enough people to file lawsuits at the same time. IBM ended up settling out of court with bunch of older workers over age discrimination. Because a ton of workers sued and they eventually figured out it would be cheaper to settle most of them.
I'm petty enough to do something like this out of spite alone and wouldn't care if I lost money.
While accused of already breaking terms of an earlier deal
www.theregister.com
IBM is preparing to settle yet more age discrimination and wage theft complaints against the IT giant, though in one instance where it has already done so, Big Blue is accused of failing to comply with the terms of its settlement agreement.
Back in 2018, IBM was in the headlines, accused of deliberately trying to get rid of older workers and replace them with younger Millennials.