the approval of a court, indemnify a person referred to in subsection (1), in respect of an action by or on behalf of the association or entity to procure a judgment in its favour to which the person is made a party by reason of being or having been a director or an officer of the association or entity, against all costs, charges and expenses, including an amount paid to settle an action or satis