Detaining demobilized neo-paramilitaries would be illegal: Prosecution