Prince Harry loses appeal against downgraded security