Don't officiers have a duty to ignore unlawful laws?
No. Officers aren't empowered to second guess the legislatures or the courts.