Court rules against Trump on pollution limits