It also works the other way around and I am pretty sure that was what Russia was betting on - with Europe's dependence on Russian energy, Europe would not react strongly to Russia's invasion.
That did not go as expected for Russia either.