City officials argued that its status as a charter city meant it did not have to comply with the state's mandates.