This article is a bit misleading. He didn't just have a boring job, they wanted to fire him but because of the labor law in France they couldn't easily do this, so they gave him nothing to do as a form of harassment to try to get him to quit (more details here:
https://www.theguardian.com/world/2016/may/02/frenchman-take... - he was "mise au placard"). This is similar to what got France Télécom in trouble for.