A federal district court refused to dismiss a lawsuit filed by two churches and a pastor.