Yes, unequal enforcement of the law is inherently unjust and ripe for abuse. That doesn't mean the law shouldn't be changed, but a legal system that arbitrarily picks and chooses when it enforces the law is corrupt and has a built in method to persecute and target select people and groups. It undermines the very principle of Rule of Law and allows unjust laws to remain on the books ready to be selectively enforced.