Yea that's no good, Blizz should reverse that. He reported the bug and did it for fun, take the loot, achievements, whatever away but the guy didn't deserve a ban. He only got it because people reported him and I'm sure an automated system got all the checks it needed to executed the ban.
Hope they revert this decision - he didn't deserve a month long ban.