Subway rolls contain too much sugar to be considered bread, an Irish court has ruled.