Look at the refusal letter
Did they say your application was invalid?
Did they say your character is unsuitable?
Did they say you did not meet the requirements in EU11 of the Immigration Rules Appendix EU?
If they only refused you on their guidance, you should challenge them in Court.