‘Justice’ can be both a noun or pronoun depending on where and how it is used. It is an adjective when used to describe one’s profession such as a judge. It is a noun when given to or adopted by a person.