Yes. Cases which can be distinguished on their material facts can be treated differently.
This is because justice allows different cases to be decided differently.