A religious rights dispute between a church that runs homeless shelters and a small Texas municipality is growing more complicated after the city filed its own lawsuit alleging the church has shirked health and safety codes.

The city initially filed its lawsuit Aug. 9 in Van Zandt County District Court, but the case has been removed to Tyler’s federal court, as well. It alleged New Beginnings Fellowship Church of Houston and minister Joe Donalson have violated city ordinances and regulations.