The former prime minister Thaksin Shinawatra, who was ousted by a military coup in September, is accused by his opponents of attempting to encroach on the king's prerogatives.