This is wrong for Japanese rules. There are situations under Japanese rules, where stones are indeed dead, but continuing play to capture them would result in a wildly inferior result.
Here is an example:
This is wrong for Japanese rules. There are situations under Japanese rules, where stones are indeed dead, but continuing play to capture them would result in a wildly inferior result.
Here is an example: