I heard there were two doctors. In my opinion they are the ones to blame here, NOT the airlines.
I’m a physician. If I declare someone, who is truck driver or pilot, as being too ill to work, I revoke their license temporarily and notify their company.
How can you deem someone too ill to work for psych reasons, and you trust that person to convey this to his employer, knowing that to do so would certainly revoke his pilot’s license probably indefinitely.
In summary, you have a man who is ill, who was told not to work, who shows up for work.
European law may be different. They may not have that ability or right.
The only agency that can “Revoke” or otherwise affect an airman’s pilot certificate is the FAA.
By the way.
Are you an AME?