A court showdown is set to take place in the Madison County Courthouse Tuesday afternoon over whether localities have a right to ban natural gas drilling.