To go badly wrong is to go less badly wrong than plain wrong. In an extreme case, to go badly wrong may even be to go right.