Legal means of ensuring justice