I wouldn't really be flattered by that but that's just me. I'd suggest a mode of catharsis because I'd be pretty pissed if my teacher did that.
Reminds me of this quote
"Don't write what you can't say, don't say what you can't wink, don't wink what you can't think."
But in this case I guess you'd have to write it.