EU’s landmark climate law to be finalised within months