(1) In any case or proceeding in his or her own court;
(2) In another court in a case or matter of which his or her own court has, has had, or may have jurisdiction; or
(3) In any court or any matter whatever, on behalf of or against any executor, administrator, guardian, trustee, or other individual acting in a representative capacity whose duty it is to make returns to his or her court, except to give such advice or instructions as his or her duty may require as judge in his or her own court, for which he or she shall receive only such fees as are prescribed by law.