Presumably you are referring to P.C. 556 et seq. There is likely also a similar ordinance in the municipality where you reside.

If you look at the statutes, it should be self-evident why a notice from a city that warns you about a parking restriction is not covered by the statutes.

If you break the law, there is a chance that you will be prosecuted.