Where an action in rem is brought against a ship belonging to a State for enforcing a claim in connection with another ship belonging to that State, subsection (2)(a) above does not apply as respects the first-mentioned ship unless, at the time when the cause of action relating to the other ship arose, both ships were in use or intended for use for commercial purposes.