The official IRNA news agency says parliament passed the motion Wednesday , with 162 lawmakers voting in favor , 42 against and 15 abstaining .