Specialization of simultaneous triangular forms
Let $A$ be a commutative ring, let $F,K$ be fields, and let $\phi:A\to F$ and $f:A\to K$ be ring homomorphisms with $\ker\phi\subseteq\ker f$. Fix an index set $I$, subsets $T\subseteq S\subseteq I$, matrices $M_i\in M_3(A)$, and elements $d_{i,a}\in A$ for $a=1,2,3$. Suppose there is $h\in\operatorname{GL}_3(F)$ such that $h^{-1}\phi(M_i)h$ is upper triangular for every $i\in S$, and its diagonal is $(\phi(d_{i,a}))_a$ for every $i\in T$.
There are a finite field extension $K'/K$ and $h'\in\operatorname{GL}_3(K')$ such that $(h')^{-1}f(M_i)h'$ is upper triangular for every $i\in S$, and its diagonal is $(f(d_{i,a}))_a$ for every $i\in T$, with $f$ followed by $K\hookrightarrow K'$.