Ponderomotive Barrier as a Maxwell Demon