French man wins compensation as judge awards him the right to refuse to be fun at work