(Reuters) -The Ukrainian government has named three North Korean generals it says are accompanying the thousands of Korean People's Army troops deployed to Russia in aid of Moscow's war in Ukraine.

In prepared remarks to the U.N. Security Council on Wednesday, Ukraine's delegation said the three generals were among at least 500 North Korean officers sent to Russia.

It said in a statement that plans call for the North Korean troops to be formed into at least five formations of 2,000-3,000 soldiers each, and integrated into Russian units to conceal their presence.

South Korea's intelligence agency said at least some generals might have accompanied a handful of troops already moved to battlefield zones.

Russia has not denied the involvement of North Korean troops in the war, which it has been waging in Ukraine since launching a full-scale invasion in February 2022.

After an initial denial, North Korea has since defended the idea of deploying troops as being in line with international law.

At the same Security Council meeting, Russian envoy Vassily Nebenzia said Moscow's military interaction with North Korea did not violate international law and that it had the right to seek aid from its partners.

Ukraine named Colonel General Kim Yong Bok, a senior general with command of special forces troops, including the XI Corps, also known as the Storm Corps, which the South Korean intelligence service said has been dispatched to Russia.

Michael Madden, a North Korea leadership expert with the U.S.-based Stimson Center, said Kim's role appears to be larger, running the KPA Light Infantry Training Guidance Bureau that includes the XI Corps as well as light infantry units deployed to KPA corps units and seconded to special missions for the Reconnaissance General Bureau, North Korea's main spy agency.

Kim has appeared at seven events with North Korean leader Kim Jong Un this year, including special forces exercises.

"This is a large and almost unprecedented deployment for the KPA," said Madden, who believes the general is in Russia as a representative of Kim Jong Un.

"As such, there are a number of administrative and liaison tasks so Kim Jong Un has sent in Kim Yong Bok as a proxy decision-maker until the KPA unit presence is fully stood up." 

Kim Yong Bok may eventually defer command to a subordinate KPA officer of a senior colonel or major general rank, Madden added.

Other top officers identified by Ukraine include Colonel General Ri Chang Ho, Deputy Chief of the General Staff and head of the Reconnaissance General Bureau, and Major General Sin Kum Cheol, head of the Main Operational Directorate.

As head of North Korea's main intelligence service since about 2022, Ri has been sanctioned by South Korea, which alleged that he oversaw major cyber hacking efforts to steal technology and foreign currency.

Like Kim Yong Bok, Ri also accompanied leader Kim Jong Un to an unusually large number of events this year, including the inspection of an east coast navy base.

Madden said Sin's career was unclear, but given his one-star rank, he was likely to assume command of the North Korean troops in Russia once Kim Yong Bok and Ri Chang Ho departed.

(Reporting by Josh Smith; additional reporting by Michelle Nichols in New York; editing by Lincoln Feast and Mark Heinrich)