As I said if you want to apply that you need to change the law as the courts ability to give indeterminate sentences for public protection was removed in 2012, having only been introduced in 2005.
Under the current law not sure there's any other option than to release him even if he is...