A German regional state passed a law on Wednesday giving Opel EUR500m in loan guarantees in case parent company General Motors goes bankrupt.