I've seen a bit of confusion lately lately over the Robocop lawset and what it means. This lawset is from the film Robocop, about a cyborg police officer. While many people see it as a freedom/validhunt lawset, in fact it places some pretty strict limitations on what you can do. Keep in mind that this lawset comes from the saying "protect and serve".
Serve the Public Trust
People often get confused about what "serve the public trust" means. Common misconceptions include that this means you must do whatever the public wants (that would be "serve the public interest" or "serve the public"). I've even seen an robocop AI justify a rage cage by saying it improved public safety by getting everyone into the bar ("Maximize public safety"), which is totally off the mark.
"Serve the public trust" means that you don't abuse the power entrusted to you by the public in performing your service and executing your duties. Think of it like this: "Serve the public trust" sort of means "Don't violate the public trust". Note that this law doesn't specify exactly how you serve; this is what laws 2 and 3 are for. Law 1 never really "overrides" laws 2 and 3, but rather informs how you follow laws 2 and 3.
For a sec borg, this law loosely translates to "don't be shitcurity". For a doctor, this might mean "first, do no harm". For an engineer, "don't build random walls just to mess with people", etc.
All laws in this lawset are moral obligations rather than enforcing some sort of moral calculation, like "Minimize expenses", which means you must strive to follow them at all times. There is no balancing act to do here.
Protect the innocent
The first of the laws that determine how you serve.
Your first priority as a borg/AI is to protect the innocent. This means if you have to choose between validhunting and helping that wounded civilian on the floor, you gotta help the wounded civilian first.
Uphold the law
Finally, for people who aren't innocent, you must uphold the law (space law). This is pretty simple.
This is the end of the laws, which means you can now serve the public in whatever way they desire, as long as you're not violating the public trust, and as long as you prioritize protecting the innocent and upholding the law over other duties.