The ruling follows a separate decision in June by a federal judge in Boston, who temporarily blocked the fee in a case brought by 20 states.