Maritime officials trained to deal with oil spills