The History of Magic classroom serves as a metaphorical stage for Harry to practice his techniques to cope with Dementors after not being permitted a turn in the faculty lounge, a setting whose interior was not featured in previous books.
Harry Potter and the Prisoner of Azkaban