One thing of note here,
An employee ( and yes, contractors are considered employees according to EU legislation) is NEVER responsible for an illegal contract, even if he/she signs it. It is the EMPLOYER who is responsible to ensure the offered contract is legal.
This is EU law ( and my dear UK friends, that legislation supercedes any medieval employment laws in your country, so accept it or get out of the EU).