Yes it would be illegal to prevent a customer from using a purchased product without the customer signing or accepting an agreement.
But it is not illegal to prevent someone from playing on Battle.net because you must accept the End User Agreement to play, and they state that you will be banned from Battle.net if you are caught doing anything against the agreement.