When Barty Crouch, Jr. was apprehended at the end of Goblet of Fire it was done by a handful of professors. Harry was there only because Crouch took him.
Much like when Dumbledore comments at the end of Philosopher's Stone referring to the battle between Harry and Quirrel,
What happened is a secret, so naturally the whole school knows.
Is there any evidence that the same thing took place for this event?