The commandment to establish courts
Why Do the Noahide Laws Require Courts of Justice?
In Laws of Kings 9:14, Maimonides explains the obligation to appoint judges who can administer justice concerning the other six commandments.

Why keep this commandment?
Keep this mitzvah because the Creator commanded it. The Seven Laws were given to humanity before Sinai. When God gave the Torah at Sinai, He made known through Moses that humanity had already received these laws. Maimonides makes accepting them on that basis part of observing them as a righteous person among the nations.
Maimonides, Laws of Kings, chapter 8 · 8:11 · The Seven Noachide Laws, Chabad.org
How is this law different from the other six?
It directs a society to appoint judges. In Maimonides' account, courts give the other six commandments an institutional basis and a place for cases to be heard.
In daily life
Justice needs institutions as well as personal integrity. A fair forum gives people a way to bring disputes before someone who can hear both sides.