No two judges are the same and no two cases are identical
In life things do not always go the way one hopes or plans, and court proceedings are not any different. No two judges are the same and no two cases are identical. Depending on the day, the same judge may give completely opposite rulings despite two cases being very similar. There is no question that the judicial system, because of the human element that is at its core, reaches outcomes that are flawed, unfair, and sometimes intolerable.
So what happens when you have been the victim of an unfair case outcome? You can either live with the consequences or you can challenge the ruling by appealing the case to the next judicial level. How your appeal will work will depend on the court from which you are appealing, the status of the case, and numerous other factors.