Preprint Ethical Value of the Law Ethical Value of the Law
The court's authority - neither dominated by money nor sword - rests fundamentally on public confidence in its moral sanctions. - Felix Frankfurter
It is an essential backstop in persuading officials and citizens to avoid corrupt behaviour. It reinforces ethical standards for the good and provides some potentially strong reasons for those who are not (although the strength of those reasons is limited by the perceived likelihood of detection).
However, the main game it is elsewhere. Law actually has a role to play in that 'main game' by creating institutional structures, setting out the powers of public officials, and monitoring the exercise of those powers under judicial review.
In best practice regimes, law already does these things. However, there are a number of ways of moving beyond best practice. Most of them ensure that the law is 'in synch' with ethical standards and institutional reform so that the three really do operate as a 'trinity' rather than as disparate, uncoordinated, and potentially conflicting integrity measures.