Gecko returns error while importing same certificate with different nickname, or import different certificate with same nickname.
But there's no error code in gecko to represent these conditions now.
I am trying to find a way to support this in follow up.