Mata is in the Spain squad after helping his nation win the Euros.
"Mata's case is a bit different as he was in the European Championship as well. It depends on when they go out or if they go to the end and how his situation is both physically and mentally. There is always this dilemma with the national teams. We will have to work around it," said Di Matteo.