Tehran warned Persian Gulf neighbors on Wednesday that any cooperation in acts of aggression against Iran would be considered complicity in a crime.