Germany midfielder Toni Kroos says Mesut Ozil was ā€œout of orderā€ to make accusations of racism within the German set up as he retired from international football last month.

ā€œBasically, Mesut is a long-serving national team player and deserved a better exit as a footballer,ā€ Kroos, 28, told German daily Bild.

ā€œI have played with Mesut for many years and know that he is a nice guy. But the way he retired was out of order.

ā€œThe proportion of his statement which was fair and justified was unfortunately overshadowed by a much higher proportion of nonsense.

ā€œI think he himself knows that racism does not exist within the national team and the DFB.

ā€œOn the contrary, we are always committed to diversity and integration. Mesut was a good example of that, like many of our team mates.ā€

Ozil, 29, created a furor last month when he retired from international football in an explosive three-part statement in which he accused German FA (DFB) president Reinhard Grindel of racism.

ā€œIn the eyes of Grindel and his supporters, I am German when we win, but I am an immigrant when we lose,ā€ wrote Ozil, sparking a storm in Germany and triggering fierce debate about integration.

Ozil fell foul of German fans and was booed during pre-World Cup friendlies after he and fellow midfielder Ilkay Gundogan posed for pictures with Turkish President Recep Tayyip Erdogan in May, raising questions about the pair’s loyalty to Germany.

Only a handful of Germany players have spoken about the saga, which captain Manuel Neuer described as ā€œstressfulā€ while Thomas Mueller said there is ā€œno question of racism within the team.ā€

Real Madrid star Kroos says Arsenal midfielder Ozil, who like Gundogan has Turkish roots, was wrong to meet with Erdogan and then wait two months before breaking his silence.

ā€œMesut was criticized for the photo — and rightly so,ā€ said Kroos. ā€œAnd he missed the chance to explain himself.

ā€œNevertheless, he was completely supported by the coaching staff and the (national) team.

ā€œLater he was — like the rest of us — criticized for the performance at the World Cup.

ā€œThe type of criticism was certainly not always at a good (justified) level — but then you have to deal with that as a player.ā€

In the first game since their World Cup debacle, Germany, who have plummeted to 15th in the FIFA rankings, will host world champions France in Munich on Sept. 6 in the newly-launched Nations League tournament.

Germany head coach Joachim Loew has promised sweeping changes and Kroos has resisted the urge to retire.

ā€œYes, I will continue until Euro 2020 and have set the big goal that we will be far more successful than last time,ā€ said Kroos.

Fellow German midfielder Sami Khedira, 31, also ruled out retirement on Thursday and hopes for a call-up against France to make amends for the World Cup disaster.

ā€œAfter a good season with Juventus, I played my two worst matches at the World Cup with full fitness. That was really bad,ā€ Khedira, wrote on Instagram.

However, Kroos says the squad Loew selects on Aug. 29 must find the necessary drive that was so badly missing in Russia.

ā€œWe have to be greedy and more forceful again, as far as goal-scoring is concerned,ā€ added Kroos.

ā€œAnd we have to be more unpleasant to play against in terms of defense — without just defending.ā€

Loew welcomed Kroos’ decision to stay on.

ā€œWith his experience, class and personality, he is of course a key player who plays a very important role in our future plans — on and off the pitch,ā€ reacted Loew on dfb.de.

However, the head coach has yet to comment on the Ozil fiasco.