The New Mexico Court of Appeals departed from federal precedent this week in siding with a defendant who argued that a police inventory search of a locked gun safe in his vehicle violated his state protections against unreasonable search and seizure.