Moscow's inclusion was a sharp change from how the U.S. handled such gatherings after Russia invaded Ukraine in 2022.