Updated

Spain's National Court has ruled against extraditing back to Morocco a convicted Spanish pedophile whose release triggered protests in the North African country.

A court statement Monday said Daniel Galvan Vina would not be handed back because under a bilateral agreement Spain and Morocco do not extradite their citizens to each other. The court said, however, it would begin a process to ensure that Galvan serves out his sentence in a Spanish jail, something the convict had originally asked for.

Galvan was convicted of raping 11 children in Morocco and sentenced to 30 years prison in 2011. He was mistakenly pardoned by Morocco's King Mohammed VI in July but was arrested in Spain days later after the king rescinded his pardon following the protests.