China miscalculates in the Ukraine crisis