The law was drafted by the government of one party, enacted by the government of the other party.
Of course, it is true that it is being supported by the current government, however the only way a future government could have avoided the law coming into force would be to repeal it with a new act of parliament (because it was already enacted).
Polling shows around 70% supported it, though far fewer thought it would be effective. Pretty much matches my views on it.
I mean, it's basically a police state.