We had a discussion about this in high school, I think my junior year. Most of these types of discussions were very lopsided, so the teacher would usually have to encourage people to take the “bad/unpopular” position somehow. But this one was right down the line in my class and produced a lively debate. I still think about it, but my opinion hasn’t changed — it was the correct decision.
My Modern World History class in high school also did this.
Our debate came down to whether or not directly / immediately killing hundreds of thousands of citizens was justified by potentially preventing even more dying in a subsequent invasion. The class was similarly split.