Court orders man’s metal detector destroyed after coins kept as ‘memento’