One house I owned, I tried to hang a picture at the top of the stairs, next to the bathroom door. wall felt strange. I thought it was one of these type walls.
Further investigation showed it was an old door.
when the house was built in 70’s, the toilet was at the top of stairs, a bathroom and sink in another room next to it.
Previous owner had taken the wall down between the rooms to make one big bathroom…. And left the spare door in place.
Door frames removed and plastered perfectly smooth. No one would have known.