A judicial or quasi-judicial proceeding, or a group of people which conducts such proceedings, which is without proper authority, and often acts abusively or decides unjustly.
How often have the words court of justice and kangaroo court occurred in a corpus of books? (source: Google Ngram Viewer )