Scottish ministers will claw back funds from councils for extra teachers if they push ahead with plans to cut posts.
Education secretary Shirley-Anne Somerville confirmed the financial sanction amid a row with councils over how they will balance their budgets.
Labour MSP Michael Marra said the policy amounted to “fines instead of finance”.