A historic castle which has become a popular wedding venue has been refused permission to carry on using its marquee ten years after it was first put up.