Perjury, in violation of Section 118, committed outside of the State of California is punishable in a competent court in the jurisdictional territory in this state in which occurs the act, transaction, matter, action, or proceeding, in relation to which the testimony, declaration, deposition, or certification was given or made.