A Spanish court’s controversial decision to clear five men of gang rape is upheld by appeal judges.