The Chinese and Russia needed one another badly at this time. Chinese needed Russia to keep NATO and USA at bay. Russia do not want to lose the war either. Russia needed China to stay healthy.
The bric are the union of poor nation banding together. Yuan can't float freely at international market, but yet China try to be like USD trying to grow their yuan influence.