Maguire to stay as Man Utd captain despite court case