There's no law against taking dogs on the Corniche but some people take offence to it and have in some cases called the police. Best not take the risk. Just find a patch of unused land (there are enough of them) and walk them there.