Justin Bieber has become embroiled in controversy after posting a picture of a visit to a Japanese war shrine that counts convicted war criminals among the fallen warriors it honours.
The troubled Canadian pop prince posted the snap of the Yasakuni shrine on his Instagram account - tweeting the link to his 51 million Twitter followers - but later took it down.
"Thank you for your blessings," the 20-year-old star tweeted as he posted the picture.
It showed the backs of two people standing in front of the massive shrine pavilion.
The post sparked a social media backlash, including in South Korea and China, where the shrine is seen as a symbol of Japan's perceived lack of penitence for its imperialist past.
An attached museum offers a view of World War II deemed unpalatable by most mainstream historians, casting Japan as a victim and a frustrated liberator of Asia.
Chinese foreign ministry spokesman Qin Gang, speaking at a regular briefing today, said he had not been aware of Bieber's visit to the shrine.
But he added: "I hope that this Canadian singer after visiting the Yasukuni shrine can have a clear understanding of Japan's history of invasion and militarism, and of the source of Japan's militarism."
The backlash recalls Bieber's visit to the Anne Frank museum in Amsterdam a year ago, when he sparked a furore with a message in the guest book at the house of the Jewish teenager, who died in a World War II concentration camp.
"Truly inspiring to be able to come here. Anne was a great girl. Hopefully she would have been a belieber," he wrote.
"Beliebers" are the nickname given to the singer's legions of fans, many of whom are pre-teen girls.
The once squeaky-clean Canadian has run into repeated trouble in recent times and is facing possible deportation from the US in connection with an alleged drag racing incident.
He also faces an assault charge in Canada for allegedly striking a limousine driver on the back of the head.
His Japanese Instagram posting came hours before US President Barack Obama arrives in Tokyo at the start of a four-country Asian tour.
Yesterday, nearly 150 Japanese politicians paid homage at Yasukuni, sparking protests from China, which said an offering earlier in the week by Prime Minister Shinzo Abe was "a slap in the face" for Mr Obama.