All the proceedings had shall be considered a nullity. A judgment rendered is not a bar to subsequent prosecutions or indictments. Lack of jurisdiction over the offense can be raised at any stage of the proceedings.
Where the court has no jurisdiction over the offense or subject matter, the only valid act it may perform is to cause the dismissal of the case.