It provides, indeed, a defence against actions or prosecutions in respect of anything done, commanded, ordered, directed, or advised to be done in Great Britain for apprehend-ing, imprisoning, or detaining in custody any person charged with high treason or treasonable practices.