I'm sure it was organised ages ago. It's just that the government neglected to tell anyone in Australia that it had been organised.
It would have been.
foreign warships don't just enter Australian territorial waters unannounced and it would have taken them several days sailing down the coast to reach Sydney.
Should be obvious to anyone with at least half a brain but as recent events have shown many Australians don't seem to meet that criteria.