How Gothenburg’s ‘pretty scary’ credit deal ties funding to sustainability targets