Sentence:  While, as stated before, the function of the <WSD>house flag</WSD> was to identify a vessel's owner, there were occasions when the flag that was shown represented the agent who was operating the vessel for the owner; or, if the vessel was sailing under charter, the flag flown was that of the contracting party. 
Meaning of the word marked with <WSD> tags:  Flag that identifies a shipowner.