Top employees, ones that can easily get jobs elsewhere, are just going to leave and find ones without RTO. Employees that don't feel confident in their abilities to perform in the job market are going to show up in the office to keep their job.
If that's true, and the employees who can survive brutal tech interviews will leave, it's kind of like an algo for finding a local minimum of talent for the shop enforcing RTO.