Exactly this. I've worked at a few places now where there were RTO policies that many workers ignored. But periodically low performers and/or people that had lost political battles were denied promotions or fired and their poor office attendance record was cited.