Both have said they will appeal the decision.