It is no defense to a prosecution for perjury that:
(1) The accused was not competent under the relevant rules of evidence to make the false statement alleged; or
(2) The accused mistakenly believed the false statement to be immaterial; or
(3) The oath was administered or taken in an irregular manner; or
(4) A document purporting to be made upon oath and uttered or published as so made by the accused was not in fact made under oath; or
(5) The court in which the acts constituting the offense were committed lacked jurisdiction over the person of the accused or over the subject matter.