The ruling in the first case is insulting on so many levels. It is almost infantilizing Somalian Muslim women and implying that they don't have any responsibility.
Having said that, I don't think turfing someone in jail is going to address racism. There are some pretty cool community sentencing projects going on in Edmonton. They are sort of like sentencing circles where the stakeholders and other volunteers (often previous offenders) gather to address why the crime actually took place and try to address it in a way that will deter future criminal behaviour. Judges often suspend sentencing on a condition that offenders participate meaningfully in these projects. I think something like this would work better than simply requiring them to do community service. The criminal justice system has a not-so lovely way of not addressing the actual issue.