Man allowed to keep deceased friend in warehouse freezer