If any person shall, after such commitment aforesaid, make out and sign or countersign any warrant for such removal aforesaid, contrary to the provisions of this chapter or Chapter 17 of this Title, as well he that makes or signs or countersigns such warrant as the officer that obeys or executes it shall suffer and incur the pains and forfeitures mentioned in Sections 17-17-150 and 17-17-170.