What they did in the past is irrelevant.
The parties to this suit have all stipulated that Hobby Lobby has a heartfelt religious opposition to being required to provide insurance which pays for abortifacients.
The ruling will be based on this stipulation. The court cannot question the legitimacy of stipulated facts. The must assume that those facts are true.
This is a good legal summary. Sadly, I have as much confidence in your statement as I do that the ruling will be based on the Constitution. Four justices have no interest in the Constitution, just in furthering their political agenda. In that situation, any tie to the Constitution is tenuous at best, as is the legitimacy of FedGov itself under such conditions.