Professor Snape does something similar with his portraits. They don’t switch out between classes, but instead change to a different portrait in the castle. Probably those that are stored in the storage area of the staff room. A room I only briefly saw as I gathered the training weapons. The professor’s probably wouldn’t care if I was in there more often, but it felt wrong. Being a student in the staff room. 