Chalk up a victory for JPMorgan Chase & Co. now that a federal appeals court has ruled that the bank never should have been ordered to pay more than $17,000 in attorney fees as a punishment for improperly removing a state court suit to federal court.

Voting 2-1, the 3rd U.S. Circuit Court of Appeals ruled that since JPMorgan’s legal position in seeking the removal was “objectively reasonable,” the lower court abused its discretion in awarding fees.