The government has strongly opposed petitions that are seeking marriage equality in the Supreme Court.