[step:Use the elementary diagram to prove that the named copy of $M$ is elementary]We prove that $j: M \to N$ is an elementary embedding. First, $j$ is injective. If $m,n \in M$ and $m \neq n$, then the $\mathcal{L}_M$-sentence $\bar{m} \neq \bar{n}$ is true in $M_M$, so it belongs to $\operatorname{Diag}_{\mathrm{el}}(M) \subset \Gamma$. Since $A \models \Gamma$,
\begin{align*}
\bar{m}^{A} \neq \bar{n}^{A},
\end{align*}
and hence $j(m) \neq j(n)$.
Now let $\varphi(x_1,\dots,x_r)$ be an $\mathcal{L}$-formula, and let $m_1,\dots,m_r \in M$. If
\begin{align*}
M \models \varphi(m_1,\dots,m_r),
\end{align*}
then the $\mathcal{L}_M$-sentence $\varphi(\bar{m}_1,\dots,\bar{m}_r)$ belongs to $\operatorname{Diag}_{\mathrm{el}}(M)$. Thus
\begin{align*}
A \models \varphi(\bar{m}_1,\dots,\bar{m}_r),
\end{align*}
and therefore
\begin{align*}
N \models \varphi(j(m_1),\dots,j(m_r)).
\end{align*}
Conversely, if
\begin{align*}
M \not\models \varphi(m_1,\dots,m_r),
\end{align*}
then
\begin{align*}
M \models \neg \varphi(m_1,\dots,m_r),
\end{align*}
so the sentence $\neg \varphi(\bar{m}_1,\dots,\bar{m}_r)$ lies in $\operatorname{Diag}_{\mathrm{el}}(M)$. Since $A \models \Gamma$,
\begin{align*}
N \models \neg \varphi(j(m_1),\dots,j(m_r)).
\end{align*}
Hence, for every $\mathcal{L}$-formula $\varphi(x_1,\dots,x_r)$ and every tuple $(m_1,\dots,m_r) \in M^r$,
\begin{align*}
M \models \varphi(m_1,\dots,m_r)
\iff
N \models \varphi(j(m_1),\dots,j(m_r)).
\end{align*}
Thus $j: M \to N$ is an elementary embedding.[/step]