Spanish court sentences Abalos to 24 years