Harry was already planning to write a return letter when Hermione came back over from the Slytherin table.
"Here," she said, putting a cone-shaped piece of chocolate on Ron's plate. "You should have this."
Ron poked it. "Um…"
"It's a Wake-Up Walnut Whip, it'll make sure you don't feel sleepy until it wears off," Hermione explained, then lifted her gaze to Harry. "It's one of those ones we talked about last week with the Headmaster."
"Ah, I see," Harry said, remembering that meeting.
Quite a lot of the sweets the Smiths were working on, or 'working on', where the latter translated to sneaking them into the school, had effects which meant they really had to be added to the banned list – like the unpleasant Puking Pastilles (for which the punishment now included clearing up the results) or Nosebleed Nougat. But others were genuinely useful, or at least were just nice things which didn't really need to be banned. Like the Flame-Haired Fancy, which was eyecatching but not actually dangerous.
In their meeting, Dumbledore had suggested that the sweets which did not have objectionable effects should just be allowed, because they would do no harm to anyone and bring a little variety into the day.
Thinking back, Harry didn't think Dumbledore had technically told them to do something. He'd just said that he thought it would be a good idea, listened to them talk about it, then said that that sounded decided to him – and it had been, because they'd all agreed by the end.
It was very impressive, if you were paying enough attention to notice.