Definitions of fall foul (of something)
to break a law
A Bridlington Pleasure boat has been banned from making day trips to Scarborough after it fell foul of an EU law.
to get into trouble with a person, group, or thing etc
The company fell foul of its investors after its poor accounting procedures were revealed.