You can destroy, for example, an advtrains_steam boxcar with items still in
its inventory, and lose everything inside. Unclear if the inventory is
deleted or if you randomly re-rolled that same wagon number if you would
get the inventory back.
I suggest the callback custom_on_destroy be able to return true/false as to
whether the destruction should proceed, and return false for freight wagons