The United Nations said the new emergency powers invoked by Prime Minister Thaksin Shinawatra to combat insurgents in three predominantly Muslim provinces violated the international treaty protecting basic civil and political rights that Thailand had signed .