The New Testament tells us to love our neighbors as ourselves. We are to deal with them in terms of God's law. We owe them such fair dealing.
Jesus was not denying the legitimacy of biblical law. On the contrary, He was affirming biblical law. We love God first; God commands us to keep His word; therefore, we must enforce the law on ourselves.