Throwing cold water is a sure fire way to deal with cats being where they do not belong!
There was a cat that beat up on my cat, and he made his way onto my porch to eat my cats food! I tossed the water on him and he hasn't been back once.
It is not toxic, and does not hurt the cat.