A. When the grounds of the objections pleaded in the declinatory exception may be removed by amendment of the petition or other action of plaintiff, the judgment sustaining the exception shall order the plaintiff to remove them within the delay allowed by the court; if the court finds, on sustaining the objection that service of citation on the defendant was not requested timely, it may either dismiss the action as to that defendant without prejudice or, on the additional finding that service could not have been timely requested, order that service be effected within a specified time.B. If the grounds of the objection cannot be so removed, or if the plaintiff fails to comply with an order requiring such removal, the action, claim, demand, issue, or theory subject to the exception shall be dismissed; except that if an action has been brought in a court of improper jurisdiction or venue, the court may transfer the action to a proper court in the interest of justice.