They should have used the 4th Amendment.
They are:
I hold that a municipal police officer is not a soldier for purposes of the Third Amendment, Gordon wrote. This squares with the purpose of the Third Amendment because this was not a military intrusion into a private home, and thus the intrusion is more effectively protected by the Fourth Amendment.
Lawsuit involves both First and Fourth Amendment violations.