MADISON, Tenn. (AP)  A group of Tennessee developers blocked from building a sex club next door to a Christian school has found a loophole allowing them to re-label the club as a church.

WSMV-TV (http://bit.ly/1b2sUJf) reports developers fought for months to open a swinger’s club in a vacant building next to Goodpasture Christian School in Madison, about 8 miles north of downtown Nashville. The city council quickly passed a zoning amendment blocking the plans. But developers filed a new set of plans asking permission to renovate the building as a church. The plans were approved.

Goodpasture’s president says the plans are identical, but a room once labeled “the dungeon” is labeled a “choir room” and a former “game room” a “fellowship hall.”

Under city codes, before opening for business, the club will have to prove worship is actually taking place.