kangaroo court

kangaroo court - [самосуд]

Meaning: a self-appointed group that decides what to do to someone who is supposed to have done wrong
It was decided in a kangaroo court that he would have to pay for the damage that he had caused to the school building.