But the court also reversed a part of Moses' decision to revoke the plant's permit— a move cheered by NorthWestern.