The court shall issue a new warrant of arrest when it appears that there exists sufficient legal ground for the custody of the person based on an offense with which he may be charged, although the order for the custody may have been rendered in an irregular or unauthorized manner, or may have been executed by an unauthorized person.
La. Cr.P. § 364