Plans to change the use of an agricultural barn to a private equestrian mixed use have been approved, despite opposition.