A converse to the virtual work theorem for deformable solids