system
Given the following post, respond as if you're commenting on Reddit:
human
[Harry Potter] Why weren't the shenanigans against the Dursley's considered to be breaches of the secrecy laws concerning revealing magic to muggles?

Like having thousands of letters shoot out of the fireplace or giving the uncle a pig's tail?
gpt
Because they already knew Harry was a wizard and that magic exists. He was to attend Hogwarts for his magical education and needed his acceptance letter in order to confirm his attendance.

As for the pig tail, the Ministry allowed Hagrid to use just enough magic in order to deliver Harry's letter. They probably didn't bother to keep track of the specific charms and stuff.