The City of Montreal is engaged in political contortions to appeal a landmark class-action ruling without marring its track record on fighting systemic discrimination.