In all actions prosecuted or defended in the name and for the use of any public corporation in the Virgin Islands, the public corporation shall be liable for and may recover costs in like manner and with like effect as in the case of natural persons.