Obviously, the security is not cool. However, I would respectfully apologize, thank him for the warning, and promise him that it wouldn't happen again. Next time I'd see him, I'd give him a ten dollar gift certificate to McDonald's or something.
That's just because I'd want to keep my wife safe and fully protected when I'm not there.
Who knows? The next time, you might get your bike personally invited into the campus police station, for safe keeping.
PS.
I wouldn't bother about the particulars with respect to school policy...That just might be enough to stir the bees in the hive!