From an advanced perspective, this follows from a variant of semistable reduction which Harris and Morrison call Nodal Reduction. I quote from their textbook Moduli of Curves, Proposition 3.49.
Let $B$ be a smooth curve, $0$ a point of $B$ and $B^{\ast} = B \setminus \{ 0 \}$. Let $X \to B^{\ast}$ be a flat family of nodal curves of genus $g$, $\psi:X \to Z$ any morphism to a projective scheme $Z$, ...
Then there exists a branched cover $B' \to B$ and a [projective] family $X' \to B'$ of nodal curves extending the fiber product $X \times_{B^{\ast}} B'$ with the following properties:
The total space $X'$ is smooth.
The morphism $X \times_{B^{\ast}} B' \to X \overset{\psi}{\longrightarrow} Z$ extends to a morphism on all of $X'$. ...
The word "projective" in square brackets in the second line is my addition but was clearly intended, since otherwise we don't have to fill in the central fiber at all. The ellipses conceal conditions concerning marked points, which we won't need.
Let $\bar{X} \to B$ be a flat projective family, whose fibers over $B^{\ast}$ are reduced and nodal. I will take $Z=\bar{X}$ with $\psi$ the inclusion $X \hookrightarrow \bar{X}$. So I get to conclude that there is a branched cover $B' \to B$, and a nodal family $X'$ over $B'$, so that there is a map $\phi: X' \to \bar{X}$. This theorem is stronger than stable and semi-stable reduction in that the new family maps to the old family, but weaker in that we have less control over the fibers of $X'$; they are reduced curves with nodal singularities, but there may be rational components with only one node.
In particular, in your setting, we have a map $\phi: X'_0 \to \bar{X}_0$. Since every component of $X'_0$ is genus $0$, if $\bar{X}_0$ has higher genus, the map $\phi$ is constant. So $\phi(X')$ only meets the central fiber of $\bar{X}$ at only one point. This is absurd, the next paragraph gives one way to turn it into a contradiction.
But $X' \to B'$ is projective, hence proper, and $B' \to B$ is finite, hence proper, so $X' \to B$ is proper. So $X' \times_B \bar{X} \to \bar{X}$ is a closed map. But $X' \times_B \bar{X} = X'$ and the map $X' \times_B \bar{X} \to \bar{X}$ is just $\phi: X' \to \bar{X}$, so we deduce that $\phi$ is a closed map and $\phi(X')$ is closed. As $\phi(X')$ contains all of $X \times_{B'} B^{\ast}$, the map $\phi$ must be surjective, contradiction.