Franz Josef and Wilhelm , finished a deal