As part of getting illegal immigration under control, we should have some laws which criminalize the act of giving sanctuary to them. If a church does so, the people who set policy for the church should be prosecuted.
The IRS has the right to have a show cause hearing and remove their tax exemption.