Relations between the two countries remain complicated. Incomplete demarcation of their boundaries has led to a protracted border conflict, most notably over the temple of Preah Vihear, which was brought to the International Court of Justice in 1962 but still saw military clashes emerge in 2008 and 2011. Cambodia's internal conflicts throughout the 1970s to 1980s often spilled over into Thailand, which received refugees but also gave indirect support to the Khmer Rouge. Thailand now dominates over its poorer neighbour economically, and is the sixth largest investor in Cambodia. Though relations are largely peaceful, the countries' peoples still bear a degree of enmity, which has erupted into violence when stoked by nationalist sentiments. Such episodes include a mob attack on the Thai Embassy in Phnom Penh in 2003, which prompted a downgrading of relations by Thailand. Thailand also downgraded relations in 2009 in response to the Cambodian government's support of former Thai Prime Minister Thaksin Shinawatra, while Cambodia terminated relations (represented by its embassy in Bangkok) twice in 1958 and 1961, during the Preah Vihear conflict.