And again, and as usual for this kind of thing, if you are really worried about it, see a lawyer about what's legal in your place.
(esp. as here we are from at least 5 countries in this thread alone, so there's bound to be some significant differences...)
E.g., as I understand French law (and I'm not a lawyer nor trained in law): attribution is obligatory whatever the
contract says...
Remco