That's literally the basis of qualified immunity. If law enforcement gets a pass explicitly due to ignorance of the law, why wouldn't their financiers? Further, if the punishment for the crime is a fine, then the law can only ever meaningfully punish the poor. The concept of law is working exactly as intended in this country.