IRS loses twice in Federal Court