They work like a check valve. You can apply the brakes (when normally installed) whether it is energized or not. When energized and the brake pedal released, it hold pressure
Installing it backwards would be dangerous, as "I think" energizing the valve and applying the brakes would stop that line from seeing pressure