The amnesty law must be approved by the upper house of parliament and signed by President Hamid Karzai to take effect .