LA CROSSE, Wis. (WKBT) -

Some landlords in the city of La Crosse are claiming a small victory.

About 30 of them are suing the city over new rental inspection regulations.

As a result the city amended the ordinance which was created back in April.

La Crosse Mayor Tim Kabat said the goal of the ordinance is to address the city's aging housing stock and rapidly growing rental population.

The attorney for the landlords said the biggest complaint would have required the landlords to allow inspectors into their rental units even if the tenants objected. They argued it violated the fourth amendment which protects people from unreasonable searches and seizures. That was struck from the ordinance last week.

However the attorney still has concerns about the ordinance violating state laws.

"State law requires that landlords and owner occupied homeowners be treated equally, and we believe that the ordinance they created to enact a mandatory registration system on landlords violates state law. We're hoping the judge strikes it, entirely,” said Attorney Bernardo Cueto.

Both sides will be in court on Friday to continue the arguments.