I do not see judgment as being synonymous with punishment. Peer-pressure is a form of judgment which if not heeded may lead to a social punishment such as ostracization.
As for examples of righteous judgment I am looking for real world examples. For example how would one righteously Judge...