Terms of service don’t override laws. If your contract has an illegal provision in it then it is not enforceable.