Investment in solar power is expected to overtake oil for the first time this year as clean energy spending outpaces that for fossil fuels.

While that is a welcome development, the International Energy Agency (IEA) warned on Thursday investment in fossil fuels is rising when it should be falling fast to achieve net zero emissions by 2050.

“Clean energy is moving fast – faster than many people realise,” IEA Executive Director Fatih Birol said in a statement accompanying the release of the agency’s latest report on energy investment.

“For every dollar invested in fossil fuels, about 1.7 dollars are now going into clean energy. Five years ago, this ratio was one-to-one. This is clear in the investment trends where clean technologies are pulling away from fossil fuels.