Ask an Immigration Solicitor. Get an Answer ASAP.
You can apply from within the UK or overseas.
I do hope this helps. Please don't forget to rate my answer to close the question, this ensures I'm compensated for my time if you're satisfied. You can, of course, ask additional questions afterwards too.