I obviously don't think there's a parallel between drawing Mohammed cartoons and protesting racism.
There is, however, a parellel between condoning anti-freedom savagery in one context, and condoning it in another, because if you believe that said savagery is self-justified and "reality" in one context, you can't switch up the standards in other situations. Like I said, by your logic, "demonic cacs" lynching Black folks for protesting was ok if they knew that provoking the white people would result in it, and since ideals are just pieces of paper, after all, and not principles to live by.