Senior officers must take responsibility for mistakes of juniors Court to UP govt