Thai opposition set for court battle over royal insults law