I tend to agree with the judge regarding the 3rd Amendment. The police aren’t really soldiers and I am not sure what they did counts as “quartering” which implies the soldiers living there.
That said, it seems like a gross violation of the 4th Amendment. In addition, I think the police probably committed multiple felonies against the residents.
If police are soldiers then they are effectively neutered by posse comitatus-