403. The sum deposited as security for costs shall be paid to the candidate who appears to have been elected, on account of or up to the amount of his costs.
If it be insufficient, the party in whose favour costs are allowed shall have his action for the balance.