This effect also comes into play re: firing. Any fortune 100 EM who's had an extremely under-performing female report knows the pressure to find a way, any way, to sweep that under the rug.
The standard operating procedure when your company is going into controlled decline and you want to soften the landing: put women in leadership positions. Less likely to be under fire, unless critics want to be branded womenhaters.