A Conyers, Ga., man has won a two-year legal battle with Wal-Mart, which has demanded he stop making and selling T-shirts, beer steins and other items that sport slogans such as “Wal-ocaust” and “Wal-Qaeda.”

U.S. District Judge Timothy C. Batten Sr. rejected Wal-Mart’s claims that Charles Smith, a 50-year-old computer store owner who thinks the retailing giant is “taking over the world,” violated the company’s trademark.