The tax lawyer found a loophole for his client to save money on his taxes.