UK citizen awaiting sentencing for gender violence

Awaiting sentencing for gender violence in Alicante, can I go back to Uk or have to stay until sentencing?

Why don't you ask the authorities? I'm not sure anyone can answer that question here.

Sorry, its actually for a friend I'm asking ,  we're in Uk, and can't get in contact