The circumstances are similar: a geopolitical rival hosting an international gathering Xi has never missed.