There is no 'necessary connection' between what is legal and what is moral. [=what is legal does not always have to be moral and what is moral does not always have to be legal]
Higher prices are a 'necessary consequence' of the company's new services.
I'll 'do the necessary' [=do whatever is necessary] to get the job done.
(..) That's it. You're not going anywhere. - Come on, let's go. - Was I supposed to bring something? - You could have. - I met her one time. - It is not necessary. - Then what did you say that for? - Hi. - Hi, Pamela. - You remember Jerry? - Yes, we met. (..)1990 TvShow: Seinfeld Title: The Stakeout Season: 1 Episode 2