Huawei has been caught trying to pass off DSLR photos as ones taken by its new flagship phone, the P40 Pro.