Thousands of opposition demonstrators gathered in front of the Supreme Court in Colombo Wednesday , when they were confronted by ruling-party activists who pelted them with stones .