An environmental group has lost its case alleging the federal government failed to take climate change into account when it renewed an agreement for logging in New South Wales, with a judge saying it was a ‘political’ issue rather than one for the courts.