The sub 093B was chased by JMSDF's destroyer and helicopter since the sub entered Senkaku's contiguous zone, presumably, for nearly 24 hours or more.
The sub willingly entered the contiguous zone, meaning shallow waters. No sub captain wishing to avoid detection enters shallows. There is no thermal layer or only a weak one to dive beneath which is not conducive to hiding. Additionally, Diaoyu Island is disputed territory meaning surveillance around the area is intense and constant. Again, no sub captain wishing to avoid detection would sail next to disputed territory.
The only logical explanation is the 09IIIB captain didn't care that he was to be detected because his mission was to show the flag and possibly gather intel on JMSDF sonar capabilities. He succeeded in the former, because now we all know a PLAN submarine sailed right next to Diaoyu Islands the JMSDF could do nothing but watch. If he
was assigned the latter mission, he most likely succeeded in that too since we know the 09IIIB is equipped with a towed extendable sonar array that collects acoustics data given off by JMSDF sonar pings.
So, the commander of 093B knew the sub's acoustics data was collected by JMSDF. Even so, the commander of 093B intentionally showed its identity, the sub was type 093B?
He sailed into the contiguous zone adjacent to disputed territory inside a submarine known to be not very quiet..... OF COURSE he knew the sub's acoustic data was being collected, which is why he most likely made a bunch of extra noise to make the acoustic signature inaccurate. Junk intel is worse than no intel and if the JMSDF collected and acts on junk intel, even unimpressive 09IIIs may prove useful in a war.