I read the Texas AG opinion, and if you read it you'll see what a complicated mishmash the situation is. It all hinges on the definition of "local" safety conditions, which is not going to be clarified. If you want your ordinance to stand up in court, it should specify *one particular* crossing and explain why blocking *that* crossing is causing dangerous and unsafe conditions (i.e. there are no alternative crossings for miles, it's needed for public safety vehicles, etc.)If you have a grade crossing and there's a road bridge 1000 feet away, no court is going to let you enforce an anti-blocking statute on that crossing.The way the Fifth Circuit and the Michigan court differ from some of the other courts which have ruled on this is that many of the other courts have taken an as-applied view of the situation, and enforced a relatively generic law *where the local conditions call for it*, while voiding it where they do not. The Fifth Circuit demands that the *law* be rewritten to specify the local conditions.