Reading on Wikipedia, I found a definition of intersection based on the axiom of separation. Basically, to define $\bigcap A$, they demand that $A$ is not empty, take an element of $A$ that they call $E$ and say that $\bigcap A = \{c \in E: \forall D (D \in A \Rightarrow c \in D)\}$. This definition leaves $\bigcap \varnothing$ undefined.
What if instead of using $E$, we used the union of $A$? $\bigcap A = \{c \in \bigcup A: \forall D (D \in A \Rightarrow c \in D)\}$. In this case, when $A$ is empty, $\bigcup A$ is empty, $c \in \bigcup A$ is false and plugged in the axiom of separation it tells us that for any $c$, $c \notin \bigcap A$. So, $\bigcap \varnothing$ is simply $\varnothing$.
Can someone help me understand what is wrong in this reasoning? Thank you.