As a motivating example, consider the static electromagnetic field defined by $\textbf{E}=(\text{const})x\hat{\textbf{y}}$, $\textbf{B}=0$. The stress-energy tensor for this field is $T=\operatorname{diag}(u,-u,u,-u)$, where $u$ is the energy density. The divergence of this stress-energy tensor is nonzero, since $\partial T^{xx}/\partial x\ne 0$. This field also violates Maxwell's equations, since the curl is nonzero but there are no time-varying magnetic fields present that could induce a curly electric field.
If we start from Maxwell's equations, we can prove that the divergence of $T$ is zero, which is a statement of conservation of energy-momentum. To what extent can we go the opposite way? I.e., can we start from
$\qquad(\operatorname{div} T=0$) and (other appealing principles)
and derive Maxwell's equations? (This is all assuming that the stress-energy tensor has the form we already know for the electromagnetic field, so it's symmetric, has zero trace, and so on.) If not, then what is a good counterexample that provides further insight? I would be happy with a discussion that was restricted to the vacuum field equations.