If a cop stops you shortly after night fall simply explain to him that you were on your way home; most cops will just let you go on your way. However if you were part of a group ride and/or this was in the dead of night that may be a different story.
It is one of the WORST tickets you get it is not a 'minor' ticket it is called 'Operating outside the condition' and you get a license suspension.
Insurance costs will be R-rated if you can get any and this will include your Car if you have one.