By definition, a referendum of independence is only useful if it's accorded by the towtwo parts, the one who wants to secede and the one they want to secede from, since both agreed to respect the results of the referendum. An unilateral referendum can be met with an unilateral non-recognition of its results.
The thing is, Spain doesn't even want the referendum to happen, and so they are trying to prevent it. What will happen in any case can not be predicted in advance, nor the final outcome of the whole process. It will depend on too many things; it the referendum is held or not, how it is prevented if so, what is the result if not and what are the next movements from both catalanCatalan and spanishSpanish governments and society. We're truly in the kingomkingdom of the unknown.