A court in Mexico has entered a US$2.7 billion judgment against Yahoo in a breach-of-contract suit over a yellow-pages listing service.