(c) A corporation shall have power to indemnify any person who was or is a party or is threatened to be made a party to any threatened, pending, or completed action by or in the right of the corporation to procure a judgment in its favor by reason of the fact that the person is or was an agent of the corporation, against expenses actually and reasonably incurred by that person in connection with the defense or settlement of the action if the person acted in good faith, in a manner the person believed to be in the best interests of the corporation and its shareholders.
No indemnification shall be made under this subdivision for any of the following:
(1) In respect of any claim, issue or matter as to which the person shall have been adjudged to be liable to the corporation in the performance of that person's duty to the corporation and its shareholders, unless and only to the extent that the court in which the proceeding is or was pending shall determine upon application that, in view of all the circumstances of the case, the person is fairly and reasonably entitled to indemnity for expenses and then only to the extent that the court shall determine.
(2) Of amounts paid in settling or otherwise disposing of a pending action without court approval.
(3) Of expenses incurred in defending a pending action which is settled or otherwise disposed of without court approval.