For example in the US it's totally legal to spy on your employees with key loggers &co, in most of Europe it isn't
Not a lawyer but my intuition says there might be some legal grounds here favouring the wife.
My take is someone even higher up found out later and did not like it. Now it’s entirely possible the individuals who gave their blessings were supportive of the party the wife was standing for, and the ones above them weren’t? Still whoever blessed the campaign did so in their capacity as a senior officer of the company. A total shit show nevertheless.
To the original commenter: sorry this happened to your wife. Hope she’s able to find another job that treats her right. Also congrats on the baby, hoping parenthood makes up for all of this and more. Sending the best of wishes your way.
However, in the scenario they did, then the company would have grounds to fire them.