Violation of the principle of legality derived from the failure to adopt appropriate measures.