Court angry over changing the size of notes repeatedly, reprimanded RBI