A Michigan man has been ordered to surrender himself to jail after being caught driving without a licence during his court appearance.