Where any person acts in an office in which the person is not entitled to act and an information in the nature of quo warranto would, but for section 12, lie against the person, the Court may grant an injunction restraining the person from so acting and may (if the case so requires) declare the office to be vacant.