As to you thinking it's crazy there are a lot of prefects, they're probably guarding the Library from Hermione.

"GODDAMNIT, GRANGER, WE SAID GO TO BED. EVERY GODDAMN NIGHT, I SWEAR."