It is just a fan fiction, although it could be considered as partially true.
In my fandom, the Queens aren't the ones who are related; but the Queen of Corona and the King of Arendelle are. They have much more in common. You may find an article or post in a Frozen fandom site or in Tumblr
In some other stories, they claim that Ariel's sunken ship may also be the sunken ship of the King and Queen of Arendelle. It could be true since Arendelle is located in Norway, and The Little Mermaid could originate from Denmark.
If you take the Coronation Cameo Theory of the fandom, the ship may have passed by Denmark on it's way to the Kingdom of Corona in Germany. It may have sunk there.
It's funny on how everything is connected in most Disney Princess movies.
Here's a link to better explain the answer:
link