Although 'it' is used as both a subject pronoun and an object pronoun to refer to something that is not male or female, 'she' and 'her' are often used to refer to ships, cars, and countries.
When the repairs had been doneshewas a fine and beautiful ship.
Mr Gerasimov has a high regard for Britain andherrole in Europe.