It's a recurring element of the Harry Potter books that student witches and wizards are constantly judged by their teachers, handed demerits that punish everyone in their House ("50 points from Gryffindor!"), and warned away from forbidden magic like the Unforgivable Curses. Which is why it came as a surprise that, ahead of the launch of Hogwarts Legacy, Avalanche Software explained players wouldn't be judged for casting evil spells.
"It was important for us to give players who sought out to be a Dark Witch or Wizard an opportunity to do so," lead designer Kelly Murphy said at the time. "This is the ultimate embodiment of role-playing: allowing the player to be evil. Additionally, this was important because it comes from a place of non-judgment by the game creators. If you want to be evil, be evil."