(27) The owner of a motor vehicle that is impounded under this section may bring an action against the driver of the motor vehicle at the time the motor vehicle was detained under this section to recover any costs or other losses incurred by the owner in connection with the impoundment.