Court overturns wiretap ruling against feds