Man who led police on chase appears in court