Notwithstanding any provision in the decedent's will, a personal representative who is an attorney shall be entitled to receive the personal representative's compensation as provided in this part, but shall not receive compensation for services as the attorney for the personal representative unless the court specifically approves the right to the compensation in advance and finds that the arrangement is to the advantage, benefit, and best interests of the decedent's estate.
Ca. Prob. Code § 10804