Does not matter if it is hard top or soft top.
The real thing that takes the impact is the steel tubes. It is designed to
protect people inside the car, because the car is designed to go off road
and
rock climbing. Going upside down is common if you do that.