If the court finds that the conduct of any person in maintaining or defending any proceeding was in bad faith or without substantial justification, the court may require the offending person or the attorney advising the conduct or both of them to pay to any other person and, when appropriate, to the estate the costs of the proceeding and the reasonable expenses, including reasonable attorney's fees, incurred by the person or estate in opposing it.
Md. R. Estate Settlem. 6-141