Court slams NAB