The Court of Arbitration for Sport (CAS) has ruled in favour of Sevilla regarding the dismissal of defender Joris Gnagnon.