I had this happen in my Protege5 awhile back.
The rear pads needed to be replaced. As your rear pads wear, the rear caliper pistons move to keep the pad close to the rotor. The light comes on as a result of the fluid level being too low for the rear brakes. The fluid isn't really low, though, it's just in a larger reservoir because the caliper pistons have moved relative to their new pad position.
Short story? I replaced the pads, which required moving the caliper piston back into the original position, which moved the fluid higher in the reservoir, which removed the brake light for the hand brake.
Chris