It is analogous. And that makes the answer for the gun debate the same as for this one. Constitution says the government can't take our guns and the Constitution says the government can't search us without a warrant. There is no exception for the "effectiveness of the outcome" of the unconstitutional laws and policies.
no subject