Federal judge rules that the Internal Revenue Service violated its code by giving immigration agency confidential data.