not sure if this applies on all aircraft, but i tested it on the 109G2 and 110c4b.
if you have ditched or have performed a belly landing, you can get the plane right back on its feet by engaging the landing gear.
basically, if the aircraft is on its belly and you deploy the landing gear the landing gear pushes the plane upward and deploys fine.