Because any thermodynamical equilibrium state is accessible via reversible processes by any other equilibrium state, and that the initial and final states are equilibrium states, so it is trivially true that there must be reversible processes connecting the initial states to the final state.
This is obviously a trivial and useless point, which is why hyportnex wrote about it being ill-defined.
Let us treat the situation in higher detail. We speak of extensive quantities, so that $U=U_H+U_C,$ $V=V_H+V_C,$ $N=N_H+N_C,$ say. What is important for us to realise, however, is that if you want to study this non-quasistatic transfer of heat, then $S_\text{final}\gneq S_H+S_C$ because there will be internal generation of entropy. So, if you were originally intending to ask if there is a quasistatic process connecting the initial states and final state, assuming that the total entropy is the addition of the two initial states, then that is not possible.
Really, this is why we should be considering thermodynamics as a subject by focusing upon the study of entropy as the thing to scrutinise, not energy. What we are supposed to do, is to take the entropy formula
$$S=S(U,V,N)\qquad\rightarrow\qquad S_\text{final}=S(U_H+U_C,V_H+V_C,N_H+N_C)$$
in order to find the actual final equilibrium state. We will find that $S_\text{final}-(S_H+S_C)\gneq0$, such that if we plot the constant entropy hypersurfaces of the combined system as the space within which we look for reversible processes connecting the initial and final states, we will immediately see that this is futile. Note that this is an intuitive, but really unphysical additional restriction in the space of reversible processes that we are imposing, and it is no wonder that it does not work.
Another way to see that this is the case, is to find the reversible processes that will actually take the initial states to the final state. The theoretically clean way to study this is to consider Carnot-like processes. Here, it is smarter to not study the metal spheres, but rather study ideal gases. In the above, we found the final entropy, and since all the relevant extensive parameters of the system has been found, we thus know the exact thermodynamical state of the entire system. Which means we also know the temperature, pressure, chemical potential, etc.
This thus allows us to work backwards. Knowledge of $T_f$ means that we can first isentropically compress the colder subsystem to $T_f$ and then isothermally expand it back to $V_C.$ We could have also chosen to isothermally compress and isentropically expand. There is thus already one ambiguous choice here that would alter the details of the calculation.
We can make a similar choice on the hot side. Because of the ambiguity of having choices on both the hot and cold sides of this calculation (and actually, since we can break up the processes into many sub-processes, the actual details can vary somewhat continuously between the extremes), we cannot actually speak exactly of what particular amounts of the transfer of heat and work happened in the reversible processes. However, what we can observe, is that, since $U=U_1+U_2,$ this means that there is no net transfer of energy. But we also know that, if we have reversible processes in all these, then there is a net transfer of entropy $\Delta S=S_\text{final}-(S_H+S_C)$ from the reservoir into the system, which means also that there is a net work done from the system to the outside. This is the part that is lost, due to the irreversibility of the non-quasistatic transfer of heat.
Note even further that, because of the ambiguity, we have a net transfer of heat or work, equivalent in magnitude to $T_f\Delta S$ in one specific case, and may be some combination of $T_C$ and $T_H$ thereof, or any value in-between.
I leave the detailed calculations to you. It has been tedious even getting to this point.
Right before we leave, I want to re-emphasise: If you use reversible processes, you can reach any temperature as the final state as you want. If you stay on the smaller entropy hypersurface, you should reach a smaller temperature, by doing some net work and having a smaller final energy. If you stay on the same energy hypersurface, then you should absorb some entropy and convert that to work. There is thus ambiguity in the phrasing of the question.