Updated

A Swedish appeals court has overturned a lower court's ruling and ordered that five Afghan teenagers convicted of the aggravated rape of an underage boy should be expelled from the country.

The Svea Court of Appeal said Wednesday "the reasons for the expulsion outweigh those against."

The Uppsala District Court had ruled in December that the teens couldn't be expelled because they are under 18 and because of the security situation in Afghanistan. The unaccompanied, asylum-seeking minors had been sentenced to youth custody of up to 15 months for dragging another Afghan boy into a forest in October, threatening him with a knife and raping him.

The appeals court also banned them from returning to Sweden for the next 10 years.

There were no immediate comments from the defense lawyers.