This was a great question, mettelus, because it made me stop and think.
I'd always assumed that of all the things MP3 encoding messes with, dynamics wasn't one of them. At least, not directly. The process takes advantage of the masking effect, which I've long believed was the extent of its magic. Masking has nothing to do with dynamic range.
But after I thought about it, I realized that I did not know this to be a fact. After all, perceptual coding is all about tossing away stuff you can't hear, and surely that would include tiny fluctuations down near the noise floor.
So I read up on it, looking for anything that would tell me if dynamics are ever sacrificed by lossy encoding. I found nothing that would suggest that it does, but also found nothing that explicitly assured me that it doesn't. So, as is often the case, I turned to experimentation to find out.
Long story short, I tested it and confirmed that MP3 encoding does not alter dynamic range, regardless of quality settings. The only thing it does do is lose a small amount of accuracy, small-enough of an error that it would not be audible.