If the court rules in his favor, it could prevent authorities from using evidence found during the searches in any prosecution.