Poland amends renewable energy law