Churches put government’s green credentials on trial