(2)Unless in such suit the defendant proves that the acts in respect of which the proceedings were threatened constitute or, if done, would constitute, an infringement of a patent or of rights arising from the publication of a complete specification in respect of a claim of the specification not shown by the plaintiff to be invalid the court may grant to the plaintiff all or any of the reliefs prayed for.Explanation.—A mere notification of the existence of a patent does not constitute a threat of proceeding within the meaning of this section.