Several thousand people protested against the vote, and it is now up to the president to decide the next step.