Women are allowed to make jokes like that because they were oppressed for all of human history. Men are not for the same reason.
Sorry, but that just isn't a valid excuse for sexist remarks. Nor is historic slavery an excuse for racist black people, or gay bashing an excuse for hetero bashing (if that ever happens). Michelle should know better. She usually is better than that, so I'll just write it off as an unfortunate gaffe.