If Russia exports all its oil/gas to China, then neither Europe nor Russia has leverage over the other. But Russia must be leery of tying its fortunes to China, since China is much bigger economically, not scared of Russia's military, and as an autocratic regime able & willing to use that leverage.
Geopolitique...wheels within wheels...