China has presented itself as a neutral party and mediator since Putin launched the full-scale invasion three years ago.