Look at the bright side: At least they didn't the GEC (ground the service) to the plastic pipe!
Now, just to play devils' advocate:
I see concrete walls, suggesting this toilet in the basement. Many older homes have a simple toilet and sink placed openly in the basement - without any privacy walls whatever. These toilets are a carryover from the times where guys would return home from horribly dirty work and change out of their work clothes before ever entering the house.
Without defining walls, can you fairly claim the entire basement is a "bathroom?" That seems absurd.