An attempt to wind back penalty rates has been opposed by the federal government, in a bid to protect workers' wages and rights.