Obama wanted deal before his Copenhagen arrival.