unjust punishment; an unjust judge; an unjust accusation.
But it is not rare to see an unjust judgment caused by a flaw of procedure.