A Slovak court ordered 12 Greenpeace activists, who were detained after protesting against a coal mining company, to remain in custody on Sunday until a trial.