(b) If the salary or compensation of any retired justices, judges, officers and employees of the supreme court, surrogate's court, county court, family court, civil court of the city of New York, criminal court of the city of New York and district court in any county, officers and employees of the office of probation for the courts of New York city prior to retirement was not paid in whole or in part from the treasury of the state but was paid directly from the treasury of a civil division, such civil division shall be required to pay the employer's share of the premium charges for the coverage of such retired justices, judges, officers and employees under the state health benefit plan. If such retired justices, judges, officers and employees are receiving retirement allowances from a pension or retirement plan or system administered by such civil division, the amounts required to be paid by such retired justices, judges, officers and employees as their share of premium charges shall be deducted from their retirement allowances. Such deductions and the employer's share of premium charges shall be paid, at such times as required by the president, to the commissioner of taxation and finance and shall be credited to the health insurance fund.
(c) Any civil division required by this subdivision to pay the employer's share of the premium charges for the coverage of active or retired justices, judges, officers and employees of the supreme court, surrogate's court, county court, family court, civil court of the city of New York, criminal court of the city of New York and district court in any county, officers and employees of the office of probation for the courts of New York city shall also be assessed and required to pay a proportionate share of the expenses of administration of the health benefit plan in such amounts and at such times as determined by the president. Such sums shall be payable to the commissioner of taxation and finance and shall be applied to the reimbursement of funds previously advanced for the expenses of administration of the health benefit plan.