One also has to consider the alternative social justice perspective, which is that mandatory minimum sentences equalize the impact of sentencing. It's long been (fairly) argued that as the privileged can afford better legal representation they get preferential treatment within the criminal justice system. It seems to me that mandatory sentencing for serious offenses levels the playing field rather than the other way around.