I believe they mean that prohibiting something that is illegal is unnecessary.
For example, look at the German penal code, title 184f, "Ausübung der verbotenen Prostitution" — it's literally "Practicing illegal prostitution", and it's worded that way because there is also legal one.