Although Swartz's intentions were noble, what he did with concealing equipment in a locker(IIRC) was illegal.
The FBI was involved before it was even discovered who it was or what was the purpose of the device.
When an institution discovers such an incident when an unauthorized device is plugged to a secure network and in a covert manner their hands are tied.