The biased use of enforcement discretion, such as that based on racial prejudice or corruption, is usually considered a legal abuse and a threat to the rule of law.
The misuse of law enforcement discretion based on prejudice or corruption is seen as a threat to the fairness and integrity of the legal system.