A pad in 40 square metres is not the same problem as a pad in a house. Placement, a tray, and a 24-hour change do most of the work. Plus the trade-off.
Veterinary behavior bodies say aversive equipment including electronic collars should not be used. What that means when the real problem is your neighbor.