The proposed changes agreed by a majority of MPs sparked protests outside parliament.