Legal analysis: The crime of bending the law for selfish ends refers to the act of bending the law, a judicial officer, who makes people who know that he is innocent be prosecuted, deliberately shields people who know that he is guilty from prosecution, or deliberately violates facts and laws in criminal trials. If the judicial personnel do not have bending the law's motive, which leads to the wrong detention or wrong arrest of the parties, it generally does not constitute this crime. However, the difference between the crime of bending the law for selfish ends and the crime of dereliction of duty should be treated differently according to different situations. Those who are seriously bureaucratic, extremely irresponsible and act rashly, resulting in serious consequences, can be punished for dereliction of duty; If the circumstances are serious and cause certain consequences, the unit may be given administrative sanctions as appropriate; For lack of experience, subjective and one-sided way of thinking, or due to tight tasks, many cases, lack of in-depth investigation and study, unclear facts and evidence, or low policy level and insufficient professional ability, we will give criticism and education as general work mistakes, so that they can sum up experiences and lessons, improve their policy level and professional ability, improve their work, and give disciplinary sanctions when necessary.
Legal basis: The crime of bending the law for selfish ends in Article 399 of the Criminal Law of People's Republic of China (PRC) refers to bending the law, a judicial officer, who prosecutes a person who knows that he is innocent, deliberately shields a person who knows that he is guilty from prosecution, or deliberately violates facts and laws in criminal trial.