(1)After the conclusion of a trial before any court-martial, the court or the officer confirming the finding or sentence of such court-martial or any authority superior to such officer, may make such order as it or he thinks fit for the disposal by destruction, confiscation, delivery to any person claiming to be entitled to possession thereof, or otherwise of any property or document produced before the court or in its custody, or regarding which any offence appears to have been committed or which has been used for the commission of any offence.