If it's not an Ironman game, there's a console command to destroy a holding. Eg: Only Bishops can rule Churches, if you grant ownership of a Church to a Mayor, it's the wrong holding. My understanding is that it means that the ruler's title does not correspond to the title of the holding.
Get a writing assignment done or a free consulting with