Definitely Lego. It first came with an early pirate set, if memory serves.
Ah... Well.. I did buy a couple of crates with playmobil and lego... like in 1999... And sold almost all the lego a couple of years ago... I don't RECALL missing that part - there were a couple of pirate sets...
Or it may have come with other stuff.. Still.. keeping it

Thank you!
It is definately Lego, I remember this fence of the dragon castle we had at home, this type of fence appears in brown and black;
That one was not a part of that lot..