Most countries in the EU don't allow for consumer rights to be overridden by an EULA.
Similarly, I can't have a contract with you to murder me. It's illegal and me being a willing participant in it does not make it legal, even if I sign a contract.
An EULA is legally binding, but only the parts that aren't in conflict with consumer rights, meaning most of any EULA is going to be invalid.