Rear discharge toilet on floor drain
The toilet is anchored with two bolts at the front that would normally support it as they would if the unit was discharging through/into a wall, so it is secure. The owner bought the unit as part of a tub/sink/toilet matching set, never knowing the difference between a rear discharge and a bottom discharge toilet. The "plumber" then did two things: First, he dug up the existing floor drain, whose center was the correct 12 inches from the wall. Secondly, he then shortened it so the center of the new floor drain was 8 inches from the wall. He did that so the rear discharge toilet tank would be against the wall, so he could anchor the tank to the wall. So now, if the toilet ever needs replacing, a floor mounted unit could not be used and a rear discharge unit would have to have the exact same dimensions for its tank to be secured to the wall.