I had k&n filter installed in my car before (cone type) and had two inspections and they did not even bother. They totally don't care.
Just be careful in choosing your brand. Don't get those cheap ones. It will give you more harm than good.