Well, maybe, in the real world, if anyone even noticed, you might get sued. It would be baseless, but you wouldn't have the resources for a court battle, so you'd just tuck your tail and run.
The lesson here is that institutions can be pointlessly authoritative assholes. Between the offended IT schmucks who were churning out their own, awful app, and the administrative types who are seeking to cover their own asses, legally speaking, it really couldn't work out any other way.
Oh, and since they can just kick you out of school, with no meaningful recourse, you're really getting a lesson in what it's like to be the little innovator.