The company says it was offering the better product, while the Justice Department argues the agreements were illegal.