I misconnected at MAD last year. Arriving MAD at 1AM and missed the midnight bank of flights to South America; no staff in sight so booked a hotel room myself. Was rebooked for an IB flight the next day. Hotel and Bolt taxi (EUR 250) was reimbursed by IB afterwards without fuss.