to do sth that is not allowed by a law or rule, or to do sth that people in authority disapprove of (与法律、规章、当权者等)相抵触,有冲突
to run afoul of the law
违犯法