A European country has confirmed it will legalise the recreational use of cannabis, marking another market where restrictions are being eased or removed.