Suppose that $Q$ is a block diagonal matrix $\mathrm{diag}(Q\_1,\dots,Q\_r)$ where $Q\_i$ is an orthogonal matrix for $i=1,\dots,r$. Let $V$ be an orthogonal matrix such that $V^TQV=Q$. Can we say something about blocks $Q\_i$?