At the risk of hair splitting, a registrar is essential at a Cathloic wedding to make it legal. On the other hand the actual declaration using the legally prescribed words is administered via the priest. So whether a Catholic wedding is a legal marriage depends very much on how you want to view it.