Unfortunately, at least in the US (and from the sound of it, probably Japan), the patent office has the viewpoint of ‘patent everything and let the courts sort them out.’ The courts, on the other hand, defer to the patent office because ‘it’s they’re job so they must know what they’re doing.’