WASHINGTON (AP) -- The Supreme Court is allowing Washington state to require pharmacies to dispense Plan B or other emergency contraceptives, rejecting an appeal from pharmacists who said they have religious objections to providing the drugs.

The justices' order on Tuesday leaves in place rules first adopted in 2007 following reports that some women had been denied access to emergency contraceptives that are effective when taken within a few days of unprotected sex. Pharmacies must fill lawful prescriptions, but individual pharmacists with moral objections can refer patients to another pharmacist at the same store.

A Ralph's Thriftway pharmacy in Olympia, Washington, and two pharmacists sued, saying the rules required them to violate their religious beliefs.

Chief Justice John Roberts and Justices Samuel Alito and Clarence Thomas said they would have heard the appeal.