Russian President Dmitry Medvedev said Friday the country will pull out of the Kyoto environmental agreement if a compromise can't be found concerning the reduction of carbon emissions, the RIA Novosti news agency reports.

"All countries, including developed and developing economies, should reach an agreement, or, if we do not agree on this [the common terms of carbon emissions reduction],
Russia will not prolong its participation in the Kyoto agreement--you cannot have it both ways," the president is reported as saying.

The statement came after the BRIC summit in
Brazil 's capital, Brasilia . The talks, that brought together the leaders of Brazil , Russia , India , and China , were aimed at improving the current global economic situation and strengthening co-operation between the four countries.

The Kyoto Protocol is a legally binding agreement restricting carbon emissions, some points of which expire in 2012. A new global climate deal is needed to continue efforts beyond 2012.

Medvedev earlier said that while the 2009 Copenhagen Summit was a disappointment,
Russia was determined to push forward strategies to reduce greenhouse gas emissions, saying the country could then meet its target of a 25% cut by 2020.