State Supreme Court allows firearm evidence despite 'unlawful' search