Japanese Foreign Minister Yoshimasa Hayashi gave an impromptu piano rendition of John Lennon's "Imagine" during Saturday's dinner party of the Group of Seven ministerial talks in Liverpool, England.

A pool photo taken at the "The Beatles Story" museum in the legendary rock band's hometown of Liverpool showed ministers from the G-7 nations and guest countries, including South Korea, smiling and clapping their hands while Hayashi sat in front of a white piano.

Japanese Foreign Minister Yoshimasa Hayashi is applauded by G-7 foreign ministers after playing "Imagine" on a replica of John Lennon's piano during a visit to The Beatles Story Museum at the G-7 meeting of foreign ministers in Liverpool, the hometown of The Beatles, on Dec. 11, 2021 in Liverpool, England. (Getty/Kyodo)

Related coverage:

Japan, Australia vow to step up Quad cooperation with China in sight

Japan urges "appropriate response" from S. Korea over wartime issues

Japan, U.S. vow to boost alliance capabilities to counter China

"There was a piano, and someone said, 'Anyone can sit there and play,' so I played 'Imagine' on the spot," Hayashi told reporters online, adding he performed about one-third of the song.

Known as a music lover, Hayashi enjoys playing the guitar and keyboard in a band formed with other lawmakers.

The museum tells the story of The Beatles and showcases memorabilia such as original instruments used by the band members and a pair of Lennon's spectacles.

The two-day foreign ministerial meeting started on Saturday. The G-7 foreign ministers were also joined by invited counterparts from Australia, India, and the Association of Southeast Asian Nations, excluding Myanmar, for expanded sessions, with some taking part online.