Men's top seed Novak Djokovic says he empathizes with Naomi Osaka having been on the wrong side of the media in the past following her withdrawal from the 2021 French Open.

Four-time grand slam winner Osaka pulled out of Roland Garros on Monday, a day after tournament organisers said her continued refusal to attend compulsory news conferences could result in her being expelled from the Open.

Osaka had come out publicly prior to the French Open and announced she would not attend the news conferences after matches at Roland Garros, citing mental health reasons.

After winning in the first round, Osaka opted out and explained her decision in a social media statement where she said has had bouts of depression since winning the US Open in 2018 and never intended for her stance to become a distraction.

Djokovic, who came under fire last year for his role in the Adria Tour and his US Open default, was asked about Osaka's situation at his post-match news conferences after his straight sets win over Tennys Sandgren on Tuesday.

"Naomi is very young… I can understand her very well. I can empathise because I was on the wrong edge of the sword in my career many times with media," Djokovic said.

"I know how it feels. I support her. I think she was very brave to do that.

"I'm really sorry that she's going through painful times and suffering mentally. I wish her all the best.

"She's a very important player, brand and person for our sport. We need to have her back.

"This was a very bold decision from her side but she knows how she feels best. If she needs to take time and reflect and recharge, that's what she needed to do. I respect it fully. I hope she'll come back stronger."

Djokovic, who was 18 major titles to his name, added that he understood the stance of the French Open and other Grand Slams who have insisted on news conferences being mandatory after every match.

"The grand slams are protecting themselves and their own business," he said. "Of course, they're going to follow the rules and make sure you are complying otherwise you'll be paying fines and getting sanctioning.

"It's not surprising to me that that was their reaction. We're used to this environment and the principles of us doing interviews after every match and getting to answer questions that are majorly quite similar.

"But it's part of our sport and what we do. The media is important without a doubt. It's allowing us to have the platform to communicate with our fans but in a more traditional way.

"It used to be the only way how we could reach out to our fans. In the last five to 10 years it's not the case anymore. We have our own platforms and social media accounts."

Djokovic won 6-2 6-4 6-2 over Sandgren, compiling 33 winners to extend his outstanding French Open first round record to 17-0.

"I thought I played really well, moved very well," he said. "From the later stages of the Rome tournament until now, I'm finding my groove on the court, striking the ball well."