The law cannot prevent you from doing something, it can only punish you if you do it.
if you mean, cant stop you considering it, then thats fair, but then the point has no value?
Claiming laws only punish actions taken so they can't be "preventitive" by preventing others from taking those actions is either naive or just plain intellectually dishonest.