My understanding is that if a castle is reduced to 0, it is destroyed or reduced to a ruinous state. The regent will need to expend coin and regency to rebuild the castle to restore it to a level 6. Assuming that the invader hasn't conquered or contested.

If a castle is reduced to zero, the troops within are destroyed/defeated.