Sorry no legal code offhand, but you can surely break the law without trespassing and "causing a computer to act in a manner the owner does not desire". This shouldn't be hard to comprehend.
The law involves intent. They proved he intended to act in bad faith while gathering that data and he was rightfully found guilty.