Capital gains are corpus. On a final year return they get distributed to the beneficiaries if there are any.
Except for a final year the concept is "income" distribution deduction. No distributions = no deduction. No income = no deduction.
What the attorney wants sound like it is the correct answer for this tax year.