My question involves criminal law for the state of: North Carolina
I have two questions related to this citation.
-What are the laws for having to produce ID within a private residence?
-Is this something that would normally be thrown out by just pleading not guilty?
I was a guest at a gathering at someones apartment. I had not met the owners before the night. An officer knocked on the door while I was in a bedroom browsing the internet on a laptop. There were no more people at the gathering at this time. The officer 'barreled his way into' the apartment (as described by one of the owners) with very unspecified consent. The officer comes into the dark bedroom and immediately asks for identification. I say something to the effect of 'I am not sure of north carolina law for producing identification in an instance such as this' (I say this very politely making sure to use sir etc..). The officer sternly states 'have you ever heard of the term impeding an investigation'. I say no I have not, but I will take note that this is the reason you are asking for identification. I give him my ID.
The officer asks if I have been drinking. I say 'I can't discuss legal matters without a lawyer', again in a non rude manner. Officer goes into the living room and speaks to the owners. I have a mental note of that entire conversation but do not think its important to mention it here. The owners said they had no idea who I was (obviously panicked) and made no mention of alcohol consumption. The officer hands me my ticket and that was the end of it. No breathalizer, no contact with the officer beyond me sitting with my face illuminated by a laptop screen in a dark room.
Thank you very much for any advice that anyone could offer.

