(2)Where a sentence of imprisonment is imposed by a summary court-martial, the officer holding the trial or the officer authorised to approve of the sentence under sub- section (2) of section 161 may make the direction referred to in sub- section (1).