Court refuses bail