Climate deal earns Nationals cabinet seat