China has willingly accepted to support Russia confront NATO directly and said Putin they will help in case of unilateral sanctions from the West. China may not try to backtrack a bit, but that support directly enabled Putin to invade (even though China may not have been given the details).