A drink-driver gave a false first name to police after being pulled over for motoring without lights in darkness, a court heard.