I installed the black cartridge in my WF-2540 and the printer has actually detected as a non-EPSON cartridge, and after confirming the warning, everything works perfectly.
I have not yet tried the color cartridges, but there is no reason why it does not work :)