I used pepper spray effectively in UK against neighbourhood dogs when my boxer came on heat, because not only do they bugger off but they remember you for later and steer well clear.
As they say, a cat that sits on a hot stove won't sit on a hot stove again, or a cold one.