Well, the law still isnt even in effect, but it is just being considered.
the reason why such law is important is because these types of punishments still happen a lot to children, especially in religious institutions and private homes.
Bosnia went from having corporal punishments in schools just 20 years ago, to some time later making law against corporal punishments in schools, but not in religious institutions or private homes.
this new law I assume also includes private homes, because if not, its a pointless law which becomes one of those "place dependent laws" (in same country illegal in one place, but legal in another place in a country).