Gaf, you will laugh at me, but I always kept my cat from place it's not supposed to be by spraying orange skin residue/oil. Just get fresh orange, peel of skin, fold skin and press, it will spray oil. You can try on your cat.
For some reason both my cats avoided this shit like fire, not daring to even enter room it was sprayed in for hour and avoiding direct spot for weeks until it wears off. Since then I moved to China to study, and don't have a cat so no problems like this. But this is very handy, if you want for your cat to stay away from certain spots. It's old trick if you want your cat to stop pee in anything other than cat toilet, people who have cats know that as soon as cat find other place other than kitty toilet to pee/shit in, they go there from time to time, when they cbf stroll to toilet. Orange oil is a way to make them stop doing it.
If you don't believe and have cat + fresh orange at hand, just try it. Your cat will run shitless away from you.