Indian court backs beef ban during Eid