I don't think law makers ever expect a law to stop a criminal behaviour. Making it more difficult (remove apps, shut down web sites) is likely to have some impact though.
I definitely don't agree about criminalisation of cryptocurrencies (which also didn't happen), but there are valid points that are not only about stealing wealth.