This is just my opinion so don't quote me on it.
I think that the purpose of the mariner was to pass on his knowledge, to warn others about his mistakes and tell of his adventures.
And romanticism isn't the way it sounds. It actually has a lot to do with nature and the supernatural. I personally would classify it as romanticism.
Hope that helps!