Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

The U.S. Supreme Court, in a limited decision, ruled Monday that closely held, for-profit companies can claim a religious exemption to the Obamacare requirement that they provide health insurance coverage for contraceptives.

For-profit corporations — including Conestoga Wood of Pennsylvania, owned by a family of Mennonite Christians, and Hobby Lobby, a family-owned chain of arts and crafts stores founded on Biblical principles — had challenged a provision of the Affordable Care Act.

It requires companies with more than 50 employees to cover preventive care services, which include such contraceptives as morning-after pills, diaphragms and IUDs.

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings. This site is protected by recaptcha

The court’s ruling Monday was 5-4, written by Justice Samuel Alito, and the decision appeared to be extremely limited. It did not appear to open the door to other types of religious-exemption claims by companies.

Instead, the ruling appeared to be a clear victory for the companies that brought the case and for perhaps 50 to 60 other companies like them with similar objections to the contraceptive requirement.

The court found that there are other ways for the employees of the small companies to get contraceptive coverage. For example, the government already has insurance companies pay for the coverage for employees of certain religious nonprofits.

The companies in the Hobby Lobby case had said that the use of some contraceptives is the equivalent of abortion, destroying a human life by interfering with a fertilized egg. For that reason, they said, providing the coverage would violate their religious beliefs.

A principle issue for the Supreme Court was whether a for-profit corporation can claim that its religious freedom allows it to be exempt from a law.

The Obama administration argued that the freedom of religion applies only to the company owners individually, not to the for-profit corporations they run. It's the the corporations, not the family members themselves, who are required to provide insurance coverage for contraceptives under Obamacare, the government said.

The companies were among more than three dozen for-profit corporations that challenged the contraceptive mandate in federal courthouses nationwide. Hobby Lobby prevailed in the lower courts, but Conestoga Wood lost its claim.

The companies relied not only on the Constitution but also on a federal law, the Religious Freedom Restoration Act, which says the federal government cannot "substantially burden a person's exercise of religion," even if the burden results from a general law intended to apply to everyone.