MEXICO CITY, Sept 5 (Reuters) - Mexico’s Supreme Court ruled that the country’s top retailer, Wal-Mart de Mexico, violated the constitution by paying workers in part with vouchers only redeemable in the chain’s outlets, the court said on Friday.

Wal-Mart de Mexico WALMEXV.MX, also known as Walmex and a unit of U.S. retail giant Wal-Mart Stores Inc WMT.N, gave store coupons as part of salaries, harking back to exploitative labor practices of over a century ago, the court said.

During the long dictatorship of President Porfirio Diaz, which ended in 1911, wealthy landowners and businessmen paid employees with special currency only valid in company stores.

The stores, which sold goods to poor workers at inflated prices, were banned in the constitution after labor uprisings sparked the Mexican Revolution in 1910.

“A labor contract that requires workers directly or indirectly to buy items in certain stores violates the constitution and will be declared null and void,” the court said in a statement.

A Walmex employee brought the complaint to the court about giving workers coupons as part of their pay. The practice also used to be common in the United States, especially in the mining industry.

“It is similar to the practices carried out in old-time stores where workers also received their salaries in the form of vouchers to be redeemed in the stores owned by the boss,” the court said.

Walmex had no immediate comment.

Critics often accuse Walmex and its parent company of paying low salaries and of being hostile to unions.

The Mexican unit of Wal-Mart employs over 150,000 people across the country at its more than 1,000 retail outlets ranging from supermarkets to clothing stores and restaurants. (Reporting by Mica Rosenberg and Chris Aspin; Editing by Derek Caney)