The relegation of Juventus was confirmed by an appeal court but Lazio and Fiorentina will stay in Serie A.