The issuance of a notice to appear shall not be construed to affect a law enforcement officer’s authority to conduct an otherwise lawful search, as provided by law.