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