the Commonwealth or the relevant chief executive is otherwise authorised (by a law, or an order of a court, of the Commonwealth or of a State or Territory) to retain, destroy, dispose of or otherwise deal with the thing.