I suppose it depends on the spikes used. Barbed wire isn't really all that bad, it'll make a nasty cut but that's about it really. I can see why a sign shouldn't be necessary for that. I was more thinking big spikes out of view that signs are a good idea for.
There illegal fullstop iirc. As there intended to hurt people. Best thing is just get some fencing with ornate spikes on.