In most cases there is a general rule, that allows a police officer to confiscate a knife, if the knife is inappropriate in the given situation.
That would be the primarily reason to get in to trouble. In the Netherlands; No 'automatic', 'gravity', double edged, 'stiletto's' and there is a maxium lenght, depending on the width of the blade.
_________________________