A few years prior the Liberal government of the day was opposed to gay marriage and voted to confirm the status quo definition of marriage.
The Liberals of course deserve credit for seeing the obvious and not attempting any action to block gay marriage further, but they did not lift a finger to support gay marriage until the courts weighed in and forced the issue upon them.