that kinda looks like a French Flag on that mast... LOL
The flag is Croatian. I assume they are flying in respect of the port. France has vertical bars.
If croatian ship went to USA harboor, flying american flag, that"s naval regulations
cool, makes sense too...