When an employee who has entered into a fixed number of days agreement receives remuneration that is clearly unrelated to the duties imposed on him, he may, notwithstanding any contractual clause to the contrary, apply to the court for compensation calculated on the basis of the loss suffered, having regard in particular to the level of salary applied in the company and corresponding to his qualification.