That sounds an awful lot like the author thinks that what they were doing is fraudulent. But I seem to have misplaced my Law Degree, so I couldn't say.
Personally, I am not sympathetic with attempts to "hack" a business' systems, whether by social engineering, attempting to exploit loopholes, or full-on exploiting security vulnerabilities. It may be legal, I cannot say, but when done in bad faith it is nothing more than parasitism. Or if you prefer, "exploitative."
Now of course, if the author has no intention of using these fraudulently obtained promo codes, and this is supposed to be some kind of white-hat "security research," that's another matter.
But this doesn't really look like it is being conducted for public benefit, e.g. to protect the privacy of users. And unsolicited testing of other people's systems seems like a legally perilous activity.
Really he only managed to hack a small portion of the system and ignored the societal safeguards that are far more robust.
That's the beauty of crowd-sourcing. Fee free to use words that seem right, and if it turns out that there is a slight adjustment to be made, everyone learns for free.
1.9 Unauthorized use, tampering and hacking.
You must not tamper with, attempt to gain unauthorized access to, modify, hack, repair, any Voi material or hardware, source-codes, information, including the Voi App, Website and Scooter, for any purposes. The Voi App, Website and the Scooter may only be used for the purposes pursuant to this Agreement.
If that's valid in court, that's another matter.
It looks like the Sweden Penal Code has a definition of data breach and jail time [1]
0 - https://www.voiscooters.com/voi-user-agreement-12rr/
1 - https://iclg.com/practice-areas/cybersecurity-laws-and-regul...
EDIT: Not discussing the technical details of this post because they are quite boring, to be honest. That's Web Security 101 and, given so many previous incidents, far from surprising that these companies aren't handling it well.
Not only did the prosecutor act strangely, but also, reading accounts of what Assanges lawyer or witnesses has said in court ( regarding the extradition request ) is ... cringy more often than not.
Prosecutors and police alike certainly doesn't have a perfect track record in this regard, there's still quite some room for improvement.