So instead of urinating on the wall they will urinate straight down onto the road or sidewalk.
Or just stand back a little further.
An electrified wall would be a better approach in my opinion.