A federal judge rejected the Duke of York’s claim that a 2009 settlement between Virginia Guiffre and convicted sex offender Jeffrey Epstein exempted him from being sued.