Very true. That famous "Oath of Office" is for thousands of years" invented to protect the "almighty".
When the benefit of the open pocket is higher than the kick under the backside, the hand will come down. Unless, as you write, the sanctions against braking this oath are MUCH severer than the advantages.  Capital punishment?