It should be pointed out that the decision was a “narrow” one in that this decision applied specifically to this Baker in this case. The court made it a point to say that this case would not necessarily set any precedent and that future similar cases might possibly swing a different way.
This case should not not be taken as opening the door for people to refuse services to gay people based on religious beliefs. As was pointed out earlier, the baker did not refuse services to the couple; he only refused the custom wedding cake.
Also to be pointed out is that this took place in 2012 before gay marriage was legal, so the court had to take in to consideration all of the context and laws in 2012. This is why the court emphasized that future similar cases could potentially be different.