20. In accordance with the terms and conditions prescribed by regulation, the security contemplated in section 8 shall be used, first, to compensate any person who was awarded final judgment in the case contemplated in section 49, then, to pay the fine imposed on the person who stood surety or on his representative.