Either way sounds like it would work, but it sounds a little like you could end up with an ugly looking, albeit expensive, "fixed up" type of balustrade.
Would you not be better all round to make it legal, bite the bullet and replace the whole thing with something that looks good AND does its...