Article L1121-1 of the French Labour Code
No one may impose restrictions on the rights of individuals or on individual and collective freedoms that are not justified by the nature of the task to be performed or that are not proportionate to the aim pursued.