A Superior Court justice ruled Tuesday that Montreal is responsible for racial profiling committed by its police officers and should pay out damages to victims.