A bored employee, a suspicious manager, and a medical certificate that did exactly what the rulebook said it would do. Everyone got what they asked for, which is rarely the same as what they wanted.

The manager is the villain here, but not for demanding proof. Asking for a certificate after one day off is petty, not illegal, and companies can set their own thresholds. The problem is the reason: a colleague tipped her off, and she decided the tip justified abandoning the usual three-day rule. That's not policy enforcement. That's a grudge with admin access. She knew the employee had two hours of work a day and had refused twice to give them more. She watched someone rot at a desk for six months, then got strict about attendance on the way out.
The employee is not innocent either. They told colleagues they wanted to burn sick leave before resigning, which is the workplace equivalent of narrating your own sting. It's why they got caught. But the revenge is smaller than it looks. An online GP wrote the note, the workplace rule barred them from Saturday, and the manager who claimed the team was overstaffed now has to find cover for a shift she insisted mattered. Nobody planned this. The system did it on its own.
There's no comment sample here, so the counter-argument is mine: if the note was a bluff, it cost nothing, and if it wasn't, it cost a GP fee. The employee wanted a clean exit and settled for a bureaucratic one. The manager wanted to catch someone slacking and instead confirmed her own staffing decision was nonsense.
The rule you use to punish someone can just as easily punish you. Certificates cut both ways, and so do rules about weekends.