ordained priests can do magic all the time. the mass is nothing more than a big magic ritual that culminates on the host becoming literally the body of christ. here in brazil is very common to ask priests to "bless" religious objects. when i was a kid my mother told me to ask the priest to bless my rosary. i asked him and he "blessed" it putting his hands over and saying some words, and from this the rosary was supposed to "have more power" or something like.  catholic doctrine says magic is le bad only for the unordained cattle.
Brazil