Alleged habitual offender wants judgement tossed