The Catholic church has LONG been in the business of annulling perfectly valid marriages (well, some of them may not have been so perfect!) as well as dispensing from vows of all kinds, including vows of continence, chastity and betrothal.  For handsome fees, of course!   So, there are NO real obstacles to ordaining married men, or women for that matter!