Willy Wonka and Harry Potter exist in the same universe. The ministry of magic haaaates Willy Wonka.
The Ommpa Loompa’s are actually house elves after a spell gone wrong, and is Willy Wonka just a candy crazed wizard creating loop holes to allow muggles to see his magic without breaking any laws