The problem isn't so much centered on the "shoulds"/ideals it's centered on reality and a more game theoretic approach. Instead of everyone crossing their heart to be good... how do you make the desired outcome have the least friction in being realized?
I don't think the game theoretic approach is wrong, but you're ignoring that threat of censure (explicit or implicit, formal or informal) is an important part of the system, and in that dimension the informal ideals and "shoulds" are highly relevant, and need to be factored into the game theoretic analysis. If a prosecutor knows that they'll get accolades for exploiting a new way to screw defendants, that's a different system than if they know they'll face condemnation for it, even if there's nothing formal.