 As a result, the Royal Australian Navy did not operate any submarines during World War II, though the obsolete Dutch submarine "K.IX" was commissioned as HMAS "K9" on 22 June 1943 and was used for anti-submarine warfare training purposes.Due to the boat's poor mechanical condition HMAS K9 saw little service with the RAN and spent most of her time in commission under repair, before being decommissioned on 31 March 1944 due to a lack of spare parts.The Australian ports of Fremantle and Brisbane were important bases for Allied submarines during World War II.