In a big topos whose objects are a kind of "space", it sometimes happens that when we define some "set" internally to the topos, the "topology" it automatically acquires coincides with the "correct" or "expected" one for the usual external definition. For instance, the real numbers object in the topos may be the set of real numbers with its usual "topology" (in whatever sense that topos represents "topology"). For example, this is the case for the Dedekind real numbers in the topos of sheaves on cartesian spaces $\mathbb{R}^n$, and for both Cauchy and Dedekind real numbers (which coincide) in Johnstone's topological topos.
Is there any topos in which this holds for the Zariski spectrum of a commutative ring? That is, if I start with an ordinary external commutative ring, map it into the topos as a "discrete" object, and then construct the object of prime ideals (or maybe filters -- whatever makes the most sense constructively) of that internal ring object, does the automatic intrinsic "topology" on the resulting object ever coincide with the usual Zariski topology?
One might naturally guess some topos of sheaves on algebraic spaces. But I don't think it's impossible that Johnstone's topological topos might also work; despite comments elsewhere that convergence isn't useful in the Zariski topology, Wikipedia tells me that the Zariski topology of a commutative Noetherian ring is a sequential topological space, and sequential spaces embed fully-faithfully in the topological topos.