Pernod Ricard has had its rating downgraded.