The Agreement on Trade-related aspects of intellectual property Rights stipulates that patents for certain inventions shall not be granted simply because their national laws prohibit the commercial implementation of certain inventions
In country A, the commercial implementation of an eavesdropping device is prohibited by law, so it is not allowed to grant a patent