The opposition did not support that bill, accusing President Viktor Yanukovych of taking demonstrators as hostages. It insists that protesters must be freed without any conditions.
The law was aimed at defusing a two month-long political crisis, in which protesters have called for Yanukovych's ouster.