Yes, but the wine was not held in a noble substance. The Eucharistic prayer being off only makes the mass illicit (unless there are entire elements of the formula off.) And invalid substance prevents transubstantiation.
That is forbidden, but does not invalidate. A judgment of invalidity is serious business and should not be lightly undertaken by a layman -- on whom the burden of proof rests.
As long as the substance of the wine was not not tampered with, you have no case. The substance of what contains the wine has no relevance unless the container could somehow corrupt the wine (e.g. broken pieces of pottery cause the wine to be mixed with clay dirt). Romulus is correct...that is a serious charge and very difficult to prove. Best to err on the side of validity.