RIO DE JANEIRO (AP) Nothing is ever easy for the rival Koreas, even that most ubiquitous and usually innocent of Olympic interactions, the selfie.
Like dozens of athletes at the Rio de Janeiro Games, gymnasts Hong Un Jong of North Korea and Lee Eun-ju of South Korea met on the sidelines during competition and training.
The 17-year-old Lee, who is at her first Olympics, posed Thursday for a smiling selfie with Hong, a 27-year-old veteran. That friendly encounter and others between the two were captured by journalists - and immediately took on larger significance for two countries still technically at war.
Such meetings are not illegal in South Korea, but they are complicated by the two countries' long history of animosity and bloodshed.
Hong became the first female gymnast from North Korea to win a gold medal in 2008, when Lee was 9 and living in her native Japan. Lee moved to South Korea in 2013 because her Korean father wanted her to learn more about the country's culture.
A few days after the selfie was taken, Lee and Hong met again Sunday while on the floor at the same time during preliminary competition. Lee was eliminated, while Hong will compete in the vault final.
IOC President Thomas Bach described the selfie as a ''great gesture.''
''Fortunately, we see quite a few of these gestures here during the Olympic Games,'' Bach said Tuesday.
Photos of their warm moments delighted many South Koreans and provided a rare note of concord in otherwise abysmal relations between the rivals. It is unclear if the gymnasts' interaction was seen in the North, an authoritarian state with extremely limited press freedom and where access to outside media is usually blocked.
The Korean Peninsula is still technically in a state of war because there has been no peace treaty signed to officially end the 1950-53 Korean War. Nearly 30,000 U.S. troops are stationed in South Korea as a deterrent against North Korea, and the neighbors regularly trade insults and warnings of war, including recent threats from the North of missile strikes on Seoul and its ally, Washington.
A web of laws, most left over from the days when the South was ruled by a dictatorship, govern how South Koreans are supposed to interact with North Koreans. Travel and communication are severely restricted; even praising the North is illegal in the South.
South Koreans are required by law to obtain government permission for any planned meeting, communication or other contact with North Koreans.
This requirement is waived for spontaneous interactions with North Koreans that can happen during foreign travel. But South Koreans must still provide an account of what happened to the South Korean Unification Ministry, which handles inter-Korean issues, within seven days, according to the laws.
The Unification Ministry said that South Korean athletes at international sporting competitions like the Olympics aren't required to submit reports about their encounters with North Koreans because it's obvious that their purpose of participating in the events has nothing to do with meeting North Koreans.
These brief, friendly moments between North and South Korean athletes at the Olympics may not seem to be a big deal to outsiders, but they often stimulate deep emotions on the Korean Peninsula, which has been divided by the world's most heavily armed border for decades and where many long for eventual reunification.
Inter-Korean ties, never good, have been terrible in the past decade of conservative rule in the South. But there were friendlier days under previous liberal governments in Seoul, and they were often seen most clearly in sports. North and South Koreans, for instance, marched together under a flag that symbolized unification during the 2000 Sydney Olympics.
Whatever happens in politics, many South Koreans love seeing their athletes treating North Korean competitors with respect, and there's always lots of media attention on these moments of harmony. North Korea also cherishes the idea of unification, and much of its propaganda is aimed at stirring such feelings in the South, though the North's vision is of a single Korea controlled by Pyongyang.
When North Korea's women's soccer team won gold at the 2014 Asian Games in Incheon, South Korea, and the South won bronze, many South Koreans expressed delight in seeing players from both countries celebrate together after the medal ceremony, smiling and putting their arms around each other.
Similarly, the Rio Olympic selfies represent a small thaw in otherwise frigid ties.
Associated Press writer Kim Tong-hyung in Seoul, South Korea, contributed to this report.
Follow Foster Klug at www.twitter.com/apklug