Gothenburg has to pay a financial penalty if it misses certain annual sustainability goals.