A truck driver who accidentally melted a truck load of ice-cream has failed to have his dismissal overturned.