It could be Mars or jupiter also? https://www.space.com/pale-blue-dot-earth-space-photo-remastered.html
There is no way it could be Mars or Jupiter. Keep in mind that Voyager was designed to be a moving astronomical image platform. It knows exactly where it is pointed at all times, using the Attitude and Articulation Control Subsystem (AACS) to maintain the craft's orientation. The AACS uses a sun sensor for yaw and pitch reference, and a star tracker trained continuously on a bright star at right angles to the sun point for a roll reference. Since it knows its own orientation and the orientation of the camera, it knows exactly which direction the camera is pointed. Pointing at Earth is a different direction than pointing at Jupiter, even at the distance of Voyager 2 in 1990 when this image was taken.
Consider this diagram of all the images taken to make the "Family Portrait of the Solar System" mosaic. Note how far Jupiter is from the Earth in this perspective-- around three entire images. There is no way it could be mistaken for Earth. And that is just considering how many image widths separate them.
But Voyager astrometry is far better than that. AACS allows the spacecraft to know its orientation to better than one second of arc, and the separation of the planets is far greater than that even within a single image. It has to be, in order for Voyager images to make any useful sense at all.