Court rules on secret commission in finance agreement