If I was to tell someone that if they did anything wrong I would punch them in the face, that does not make it legal or justifiable? Breaking the law is illegal regardless of a "warning".
The fact is; it is illegal (against the law, bad, theft, naughty, sinful etc) to make a penalty charge...