Somebody needs to educate the applicant (the police) and those issuing the search warrant (magistrates I assume). As for the actual execution of the warrant, it looks like the SWAT used it as an exercise.