It seems that there are two ways to define the Lie algebra $\mathrm{so}_{2n}(\mathbb{C})$. The first one is $\mathrm{so}_{2n}(\mathbb{C})_{(1)}:=\{M \in \mathrm{gl}_{2n}(\mathbb{C}) \ | \ M + M^t = 0\}$, the second one is $\mathrm{so}_{2n}(\mathbb{C})_{(2)}:=\{M \in \mathrm{gl}_{2n}(\mathbb{C}) \ | \ BM + M^tB = 0\}$ where $B = \begin{bmatrix} 0 & I_n \\ I_n & 0\end{bmatrix}$.
In A. Kirillov's notes on page 128, it is stated that these two Lie agebras provide two alternative descriptions of $D_n$, and that they are isomorphic via $M \mapsto MB$. However, this is not true, the commutator is not preserved: $[M_1,M_2]\cdot B \neq [M_1\cdot B,M_2\cdot B]$ for skew-symmetric $M_1$ and $M_2$. What's the problem here?