A number of legal and political theorists have suggested that public officials who fail to act within the law that they administer act unjustly. This does not mean that injustice is always likely to be done merely because it often happens to be done when officials depart from the law. Some writers have held that injustice is done whenever an official fails to act within the law, regardless of the circumstances. I shall call this type of view "formal justice."
David B. Lyons,
On Formal Justice
Cornell Law Review
Available at: https://scholarship.law.bu.edu/faculty_scholarship/2578