A judge has approved a $5 million penalty against the Commonwealth Bank of Australia for overcharging customers $8 million in fees and interest on its agricultural products, despite previously expressing concerns that the penalty was “on the light side”.