A bid to create a solar farm on land in Wormegay, near King's Lynn, has been blocked by government officials due to fears it would harm the remains of a motte-and-bailey castle close by.