Whatever is done in contravention of a prohibitory law is void, although the nullity be not formally directed.