Planned RAF shutdown halted by court interdict