Court says EU illegally froze Iran group's funds