Cal. Harb. & Nav. Code § 402
A vessel in a port of the country in which it is registered is called a domestic vessel, in another port it is called a foreign vessel.