It was never about the cake.
You're completely right. It was a carefully chosen test case to establish a legal precedent for future cases. They picked a small business that they knew wouldn't have the resources to fight back. Now that they have the precedent, it's going to get a lot worse.