I swear Harry always brought his friends into trouble all the time. And them being stupid we're like suuuuuure let's go into the forest were magical creatures can kill us and we could potentially get in trouble with our teachers. I mean who cares about living or being a qualified witch/wizard. And they always got away with it because he's the chosen one! If Neville long bottom did that stuff, he'd get sent home after the second time.
Hey, it worked, didn't it? It helped Harry figure out that Voldemort was involved in trying to find the Philosopher's Stone-without the forest, he wouldn't have figured out that Quirrel wasn't just looking for it for himself.
Hogwarts.