Retaking imat while studying medicine in Italy

If I am studying medicine and surgery in English at a university in Italy and I want to retake the imat exam should I be considered as an EU applicant or as a non EU applicant?

If you did the permesso you are considered EU