Russian energy giant Gazprom meanwhile warned the government in Kiev that it would cut off gas exports if it did not settle a $1.89bn (£1.13bn) debt. In 2009, Gazprom halted supplies to Ukraine in a move that caused shortages across Europe.
(Source: BBC News)
What does the first and second "it" refer to in this context? I think the first "it" refers to Gazprom and the second refers to Kiev – am I right?