Through a ministerial ruling in March 2004, the Spanish government removed economic barriers to grid-connection of renewable energy. The widely applauded Royal Decree 436/2004 equalises conditions for large-scale thermal and photovoltaic plants and guarantees feed-in tariffs.