Relating to the various attacks/seizures at sea in recent years, it seems to me Western countries draw a line between vessels formally navigating under flag of country X and those just owned by companies based in country X.
Has any Western country threatened to militarily retaliate when a ship owned by its nationals, but flying the flag of some other country was attacked?
(Iran and/or Israel might have more or less [in]formally done the latter in their 'shadow war', so I'm asking about [other] Western countries.)