IRS officials were sidelined in discussions about DHS's demand for taxpayer data on unauthorized individuals. Thousands of people's private data was shared unlawfully, leading to court injunctions. Despite errors, DHS defends the data sharing agreement.