It is an outright lie to suggest that the DOJ had no choice.
But it's worse than that. Let's just assume for a moment that the Justice spokesman didn't lie to Politico, even though they did. Let's just assume that Obama had no choice but to oppose the gay couple filing this DOMA lawsuit. Where in the law does it say that Obama was required to compare equal marriage to incest?