To prevent fruit production in an ornamental tree, spray the it with a chemical every year to get the fruit to drop when it’s still small. Spray the entire canopy of the tree when as many of the flowers are open as possible.
Original article: https://www.reviewjournal.com/life/home-and-garden/to-stop-fruit-production-spray-tree-when-flowers-open-2551734/