China knows who is buttering their bread. If just one agricultural input gets sanctioned they are dead. Russia cant guarantee they can replace what is lost.
They have no choice.
For some stupid reason (green energy) Ukraine kept pipelines from Russia running through their territory. January 1 Ukraine cuts the lines.
https://www.bruegel.org/analysis/end-russian-gas-transit-ukraine-and-options-eu