Universities do this too...if you don't settle up your fines, you don't graduate. I'm guessing this is where schools have got the idea. It's different I would think, in schools, because there are independent exam boards.
However, may i suggest you just pay the flipping fine? Not a good habit to get into - you'll end up the enemy of the librarians at Uni, and they are definitely people you want on your side...