in the interest of justice
Meaning
(law, US, idiomatic) the reason of case dismissal used when the judge decides that justice will be best served when the case is dismissed
Used other than figuratively or idiomatically: see in, the, interest, of, justice.
Source: en.wiktionary.org