BANGKOK - Japanese Prime Minister Fumio Kishida and Chinese President Xi Jinping agreed Thursday to work for stabilizing bilateral ties and expressed their opposition to any use of nuclear weapons in Ukraine, in a veiled counter to Russia's threat to possibly use them against the neighbor it has invaded.