Yes. Cases which are the same on their materials facts should be treated in the same way.
This is because justice requires that we everybody receives equal treatment under the law.