A Liberian-born double amputee was thrown into solitary confinement at a Georgia immigration detention center after refusing to enter his flooded cell — a move that could have destroyed his battery-powered prosthetic legs and left him unable to walk, according to a report.

Rodney Taylor spent three days in a “restrictive housing unit” at Stewart detention center after guards tried to force him into a cell with an inch of standing water. For Taylor, whose microprocessor-controlled prosthetic legs cannot get wet, entering that cell would have been catastrophic, The Guardian reported.

The 46-year-old barber has lived in the U.S. nearly his entire life after arriving from Liberia as a child on a medical visa. He underwent 16 operations and has only two fingers on his right hand.