It is known that Montreal has a lot of cap space but especially with a rising cap the amount of loose cash they could have lying around is so high that I could see them taking on Lucic if the Oilers make it worth their while (i.e. Puljujarvi). I think the Habs could even send a solid forward back in return to compensate their loss (maybe Byron or Armia?) along with picks.
Even keeping some big contracts that could be replaced from within (Tatar $4.8M, Shaw $3.9M, Byron $3.4M) and giving big raises to Domi, Kotkaniemi, Gallagher and Mete AND acquiring a dman to the tune of $4M or $5M AND accounting for an Alzner buyout, Montreal would still have the cap space to acquire Lucic's contract in it's entirety (no retention from Oilers).
Do you believe the Habs could realistically acquire Puljujarvi by taking on Lucic and what kind of return would the Oilers agree to? Keep in mind Claude Julien loves Lucic and they have won together. Claude Julien could be able to re-launch Lucic's career.