I believe many of the folks vehemently against the return to office are ignoring this detail. At my last company, I left because leadership refused to recognize that not all teams are the same. We didn’t want to manage people when they’re not delivering. Some organizations were working people to death while other orgs and teams became a form of corporate welfare. Imagine not showing up to any meetings, making no progress on your Kanban board, etc etc.
Either you have management find some way to motivate them, directly let them go, or force them to come in until they demonstrate they can work from home.
Ignoring the problem or pretending it doesn’t exist, or worse, making up for it by offloading even more work to your high performers is all wrong.
I saw managers who refused to do anything because it meant they’d effectively lose half or more of their people. Meanwhile, other orgs were unsustainable engineer burnout factories.