Is it possible to use a TikZ matrix along a chain?
The following code attempts to create a chain consisting of a node, a matrix, and another node.
\documentclass{minimal}
\usepackage{tikz}
\usetikzlibrary{positioning,chains}
\begin{document}
\begin{tikzpicture}[start chain]
\node [on chain] {XYZ};
\matrix [on chain]
{
\node {A}; \\
\node {B}; \\
\node {C}; \\
};
\node [on chain] {123};
\end{tikzpicture}
\end{document}
However, if I try to compile, I get the error "Package pgf Error: No shape named chain-2 is known." (Interestingly, if I remove the final node so that nothing follows the matrix, then it compiles without error.) Why does this error occur?
Of course, it is straightforward enough to use the positioning library directly. So, mostly, I am interested in this question for its own sake; I don't have an important, specific use in mind where chains of matrices would be critical.

