I cannot reproduce the problem.
In my tests, depending on the priority set "Keep newer tab/Keep older tab", the newer or older pinned is kept.
Note: the newer tab is the tab with highest id, if you refresh a tab with a lower id, it will be the newer content but still be the older tab because of its id.
Let me know if I've missed something.
Thanks for the review.