A court in the Philippines has ordered the government to lift a 17-year freeze on a block of shares in the food and drinks group, San Miguel Corp., which the company's chairman, Eduardo Cojuangco, lays claim to.