A court says the bread used in the firm’s hot sandwiches must be taxed because of its sugar content.